Errors and Status Codes

Find a list of common HTTP status codes and error responses returned by the TopMessage API. Use these codes to diagnose issues and troubleshoot errors effectively.

Success Status Codes
Status CodeMeaningDescription
200Success
The request was successful, and the response contains the requested data.
201Resource Created
The message or resource was created successfully.
202Accepted
The request has been received but not yet processed. Processing is in progress.
204No Content
The request was successful, but there is no content to return to the response.
Client Error Status Codes
Status CodeMeaningDescription
400Bad Request
The request could not be understood or was missing required parameters.
401Unauthorized
The request requires user authentication or the provided credentials are invalid.
402Payment Required
The request cannot be processed due to insufficient balance.
403Access Denied
The server understood the request but refuses to authorize it.
404Resource Not Found
The requested resource could not be found on the server.
429Rate Limit Exceeded
The client has sent too many requests in a given amount of time.
Server Error Status Codes
Status CodeMeaningDescription
500Server Error
The server encountered an unexpected condition that prevented it from fulfilling the request.
501Not Implemented
The server does not support the functionality required to fulfill the request.
502Bad Gateway
The server received an invalid response from an upstream server.
503Service Unavailable
The server is currently unable to handle the request due to temporary overload or maintenance.
504Gateway Timeout
The server did not receive a timely response from an upstream server.