Learn how to handle errors.
Code | Name | Description | Retry? |
---|---|---|---|
400 | Bad Syntax | Common validation problem. You may want to double check the request body complies with the spec, and the query parameters as well. You may find further details in the response body. | ❌ No |
401 | Unauthorized | Server could not authenticate you. Make sure your access token is valid and has not expired. | ❌ No |
403 | Forbidden | Your HTTP requests was forbidden by the server. Double check what you’re attempting to achieve is allowed by the API Reference and/or your level of access. | ❌ No |
404 | Not Found | The requested resource does not exist, was deleted, or you do not have access to it (access rights). | ❌ No |
405 | Method Not Allowed | The HTTP method you invoked is not supported on the corresponding API path. Please refer to the API Reference. | ❌ No |
429 | Too Many Requests | You exceeded the API rate-limit. | ✅ Yes (later) |
500 | Internal Server Error | Something unexpected happened. We were notified and will be investigating the problem. Please refer to our status page to know more. | ✅ Yes (maybe) |
503 | Service Unavailable | The Lucca API is down. We’re on it to make sure it will be back up as soon as possible. Please refer to our status page to know more. | ✅ Yes |
Strategy | Purpose | When needed |
---|---|---|
Handling errors (below) | Recover whenever an API request fails. | Always |
Monitor webhooks | React to failed event deliveries. | Often |
Browse logs (below) | Investigate past problems. | Sometimes |
Deprecation
HTTP header which indicates the date from which the version was marked as deprecated ;Sunset
HTTP header which indicates the date from which the version will no longer respond.