Skip to content

Errors

The AutoLeap Partner API uses standard HTTP status codes to indicate the success or failure of a request. All error responses include a JSON body with additional context to help you debug issues quickly.

HTTP Status Codes

CodeMeaning
200 OKThe request succeeded.
400 Bad RequestThe request was invalid (e.g., missing required field, malformed JSON).
401 UnauthorizedAuthentication failed or no valid access token was provided.
403 ForbiddenThe access token is valid, but the partner lacks permission to access the requested resource.
404 Not FoundThe requested resource (e.g., customer, vehicle, RO) does not exist.
429 Too Many RequestsRate limit exceeded.
5xx Server ErrorAn unexpected error occurred on AutoLeap’s side. These are rare and usually temporary.

Error Response Format

All error responses follow the same structure as successful ones, with success: false:

{
  "success": false,
  "error": "Invalid partner credentials",
}