Skip to main content

Response Codes

The following is a list of response codes that could be issued by the Sign In App API endpoints. Where possible each endpoint documents specific parameter requirements and possible errors specific to that endpoint.

200 OK

This is returned for most other successful API calls including GET, PUT, PATCH and DELETE. The returned data will represent the requested resource.

201 Created

This is returned when a new resource on the API is created. 201 is returned as a confirmation that the resource call was successful. Usually the response contains the newly created entity.

401 Unauthorized

The API credentials being used either do not exist or failed to authenticate. Check the authentication header is set correctly and with the correct details.

403 Forbidden

A permissions check for the specified endpoint failed for the API client being used. Check in the portal for the associated permissions for the client being used.

405 Method Not Allowed

This is often due to the endpoint not accepting the specified HTTP verb. Check the documentation for that endpoint and it's supported HTTP methods.

422 Unprocessable Entity

When validation on fields provided in a request fail, a JSON object with each field that failed is returned with a description of the reason.

Object {

String <key>: Array[String]

}

Example

{

"name": [

"Name is a required field."

],

"mobile": [

"The specified mobile number is not valid."

]

}

429 Too Many Requests

Sign In App applies two limits to the Client API, and exceeding either returns this response.


The first is a rate limit of 500 requests every 5 minutes. This limit applies to your account as a whole and is shared across all of your API clients, so creating additional API clients will not increase it.


The second is a concurrency limit of 10 requests at the same time. This limit applies to each API client separately, so spreading work across additional API clients will increase the number of requests you can have in progress at once.

500 Internal Server Error

If a problem occurs during execution which can not be returned as a useful error message the Sign In App API will return this status. Internal systems are setup to monitor these errors and response appropriately.

503 Service Unavailable

Occasionally we perform maintenance that may require a minimal amount of downtime. This status is issued during that period. Requests should be queued and retried at a later time.

Did this answer your question?