If the request fails, you will receive an error message.
The error message format remains consistent.
{
"status": {
"code": "INTERNAL_SERVER_ERROR",
"message": "internal server error",
"extra_message": "Database error",
"trace_id": "798fe30d-e3a6-4b1a-8fd6-3210aa6f8003"
},
"data": null
}
- status
- code: It represents a unique identifier for the type of error encountered.
- message: It provides additional context or details about the error.
- extra_message: If the message is sufficient, the corresponding field remains empty. However, if additional information is needed, such as in the case of a database error, it will be provided in the respective field.
- trace_id: Used for issue tracking purposes.