चित्र एंडपॉइंट errornotes में डाल सकता है, हर गैर-घातक कोड, उसके सरल-इंग्लिश अर्थ के साथ। इसमें API v2 add-on के कोड भी शामिल हैं (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."
}