Common error codes and responses.
Status Code | Meaning | Description |
---|---|---|
200 OK | Success | The request was successful. The response body will contain the requested data. |
400 Bad Request | Bad Request | The request was malformed. This could be due to missing required fields or invalid data types. |
401 Unauthorized | Unauthorized | The request lacks valid authentication credentials. This usually means the Authorization header is missing or the token is expired. |
403 Forbidden | Forbidden | The authenticated user does not have permission to perform the requested action. |
422 Unprocessable Entity | Unprocessable Entity | The request was well-formed, but the server was unable to process it due to semantic errors (e.g., invalid value for a specific field). |
Authorization
header is missing from your request.
422 Unprocessable Entity
or 400 Bad Request
status code and indicate a problem with the parameters or body of your request.
chat_id
or message_id
) is not included in the request.
chat_field
when updating a chat).
pin
field).