The connctd API uses the following error codes:

Error CodeMeaning
400Bad Request: The client should not repeat this request without modification.
401Unauthorized: Your token or credentials can't be verified
403Forbidden: The provided token does not have sufficient permissions for the requested action
404Not Found: The specified Unit or Thing could not be found
409Conflict: Resource already exists or conflicts with another resource
500Internal Server Error: We had a problem with our service. Try again later.
503Service Unavailable: We're temporarily offline for maintenance. Please try again later.
Error response object
  "status": "404",
  "error": "THING_DOESNT_EXIST",
  "description": "The requested Thing doesn't exist",
  "more_info": "https://docs.connctd.io/errors/thing_doesnt_exist"