Skip to main content

Errors

The SmartSuite REST API follows HTTP status code semantics. 2xx codes signify success, 4xx mostly represent user error, 5xx generally correspond to a server error. The error messages will return a JSON-encoded body that contains field ids and a string containing the error message. Those will provide specific error conditions and human-readable messages to identify the source of the error.

Success code

CodeMessageDescription
200OKRequest completed successfully.

User error codes

CodeMessageDescription
400Bad RequestThe request was invalid or could not be parsed.
401UnauthorizedProvided credentials were invalid or do not have authorization to access the requested resource.
403ForbiddenAccessing a protected resource with API credentials that don’t have access to that resource.
404Not FoundRoute 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).
422Invalid RequestThe request data is invalid.

Server error codes

CodeMessageDescription
500Internal Server ErrorThe server encountered an unexpected condition.
502Bad GatewaySmartSuite’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.
503Service UnavailableThe 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.