Smartcomply uses conventional HTTP response codes to indicate the success or failure of an API request. In general:

  • Codes in the 2xx range indicate success.
  • Codes in the 4xx range indicate an error that failed.
HTTP CodeErrorDescription
400Bad RequestThe request was unacceptable, often due to:
1. Missing a required parameter.
2. Not having the required key.
401UnauthenticatedThe user has not been authenticated.
403UnauthorizedThe user does not have privileges to perform the request.
404Not FoundThe requested resource does not exist.
CustomCustom Error1. Public key not provided.
2. Conflicts of information.
500, 502, 503, 504Server ErrorsSomething went wrong on Smartcomply’s end. (These are rare.)
200OKEverything worked as expected.