Status Codes
Status Codes Responses
The API can return various HTTP status codes indicating the result of the authentication request. Below is a detailed explanation of each status code you might encounter when using the authentication endpoint:
Status Code | Description | Explanation |
---|---|---|
| Success | The request was successful, and the user has been authenticated. The response will contain the |
| Invalid Request | The request could not be understood by the server due to malformed syntax. This may occur if required fields are missing or improperly formatted. |
| Invalid Credentials | The authentication failed because the username or password is incorrect. This status code indicates that the user is not authorized to access the resource. |
| Access Denied | The server understood the request, but the user does not have permission to access the requested resource. This may occur if the user is not allowed to authenticate or access certain features. |
| Endpoint Not Found | The requested resource could not be found. This typically means that the endpoint URL is incorrect. |
| Server Error | The server encountered an unexpected condition that prevented it from fulfilling the request. This indicates an issue on the server side, not with the request itself. |
Last updated