Error Codes
The Tablesprint REST API follows standard HTTP status code semantics. Below are the descriptions of different error codes and their meanings.
Success Codes​
Code | Message | Description |
---|---|---|
200 | OK | Request completed successfully. |
User Error Codes​
Code | Message | Description |
---|---|---|
400 | Bad Request | The request was invalid or could not be parsed. |
401 | Unauthorized | Provided credentials were invalid or do not have authorization to access the requested resource. |
403 | Forbidden | Accessing a protected resource with API credentials that don’t have access to that resource. |
404 | Not Found | Route or resource is not found. This error is returned when the request hits an undefined route, or if the resource doesn’t exist (e.g., has been deleted). |
422 | Invalid Request | The request data is invalid. |
Server Error Codes​
Code | Message | Description |
---|---|---|
500 | Internal Server Error | The server encountered an unexpected condition. |
502 | Bad Gateway | TableSprint’s servers are restarting or an unexpected outage is in progress. You should rarely encounter this error, and should retry requests if it is generated. |
503 | Service Unavailable | The server could not process your request in time. The server could be temporarily unavailable, or it could have timed out processing your request. You should retry the request with backoffs. |