HTTP Errors
In case of any error in authentication, Enterprise will get a response with statuses as 400 Bad Request, 401 Unauthorized, 403 Forbidden, and 500 Internal Server Error in a JSON object body explaining the error. Structure below:
Name | Description | JSON Type |
---|---|---|
Message | An error message describing the general error. | String |
Details | Human-readable description of the error. Can be used for debugging. | String |
400 Bad Request There was an error with your request. The body is a JSON object described above in HTTP Errors.
401 Unauthorized There was an authentication error with your request. Either you're using incorrect token or your user name or password is expired.
403 Forbidden Your request has been received, but access is forbidden. The RBM bot you are using to send messages has been suspended. This can happen for various reasons, including outstanding charges. The body is a JSON object described above in HTTP Errors.
500 Internal Server Error An unexpected error occurred before queueing your message or while your message was being queued. The body is a JSON object described above in HTTP Errors.