# 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 | Code | Meaning | | --- | --- | | `200 OK` | The request succeeded. | | `400 Bad Request` | The request was invalid (e.g., missing required field, malformed JSON). | | `401 Unauthorized` | Authentication failed or no valid access token was provided. | | `403 Forbidden` | The access token is valid, but the partner lacks permission to access the requested resource. | | `404 Not Found` | The requested resource (e.g., customer, vehicle, RO) does not exist. | | `429 Too Many Requests` | Rate limit exceeded. | | `5xx Server Error` | An 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`: ```json { "success": false, "error": "Invalid partner credentials", } ```