🚦Errors

The Salescamp API builds on top of HTTP Status Codes to show errors to developers.

Where appropriate the API will include a detailed error message explaining the nature of the issue and how it can be resolved.

Client Errors

These errors are the result of an error on the side of the developer and will need to be addressed in your own code.

We will normally include further information to help resolve the error in the JSON body of the response.

Error Code
Description

400

The input provided to the method was invalid. The response body will contain more details to help resolve the issue.

401

The token provided was not accepted. This could be because the token has been revoked or is incorrectly formatted.

402

The workspace this token is connected to does not have an active subscription.

403

The token provided is not authorized for the scope required. The response body will contain details including the scope that was missing.

404

The resource requested could not be found.

429

The IP address making the request has exceeded our rate limits. The request should be retried in a few minutes.

Server Errors

These errors indicate that something went wrong in our systems.

Errors of this category will automatically trigger notifications to our team and we'll start working behind the scenes to address the issue.

Error Code
Description

500

An error occurred processing the request. This is normally an application error and will not be solved by retrying the request.

503

Our servers are too busy to handle the request. This issue is normally temporary and will be solved by retrying the request in a few minutes.

Last updated