كل رمز غير قاتل يمكن أن يضعه نقطة نهاية الصورة في errornotes، مع معناه باللغة الإنجليزية البسيطة. يشمل رموز إضافة API v2 (G23، M24، L26، W28، N29، N30، O31، B32).
طلب
curl "https://api.vehicleimagery.com/api/errornotes" \
-H "x-api-key: YOUR_API_KEY" 200 · رموز.
{
"errornotes": {
"Y01": "Requested year is not available — used the nearest available generation.",
"S05": "Shadow is not available for this car or not allowed by your plan — delivered without shadow.",
"M20": "Mirroring needs a transparent variant which is missing for this car — mirroring skipped.",
"L26": "Lights are not available for this image — delivered with lights off.",
"W28": "Dark windows are not available for this image — delivered see-through."
}
} 401 · مفتاح `x-api-key` مفقود أو غير صالح.
{
"error": "Invalid API key"
} 403 · قيود الخطة (الميزة أو التنسيق أو العلامة التجارية غير مسموح بها) أو طلب محظور.
{
"error": "Mirroring is not allowed by your plan."
} 404 · لا يوجد بيانات للمسار المطلوب.
{
"error": "Brand 'Xyz' not found — check /api/brands for valid brands."
}