Tous les codes non fatals que l'endpoint image peut mettre dans errornotes, avec leur signification en anglais simple. Inclut les codes de l'add-on de l'API v2 (G23, M24, L26, W28, N29, N30, O31, B32).
Demande
curl "https://api.vehicleimagery.com/api/errornotes" \
-H "x-api-key: YOUR_API_KEY" 200 · Codes.
{
"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 · Clé `x-api-key` manquante ou invalide.
{
"error": "Invalid API key"
} 403 · Restriction de plan (fonctionnalité, format ou marque non autorisés) ou demande bloquée.
{
"error": "Mirroring is not allowed by your plan."
} 404 · Aucune donnée pour le chemin demandé.
{
"error": "Brand 'Xyz' not found — check /api/brands for valid brands."
}