๐Ÿšจ Errors

Errors

Straqa uses clear and descriptive error responses.

Error Response Format:

{
  "success": false,
  "message": "Invalid API Key",
  "data": null,
  "responseCode": "AUTH_ERROR"
}

Common Response Codes:

Code

Meaning

AUTH_ERROR

Invalid or missing API key

VALIDATION_FAILED

Request validation error

NOT_FOUND

Resource not found

SERVER_ERROR

Internal error occurred

Always check the message and responseCode for debugging.