Skip to main content

Error response format

PASCA returns structured error responses with a status indicator, code, and error details when available. Response example:
Fields:
  • status: Boolean indicator of success.
  • code: Numeric status code.
  • message: High level error summary.
  • error: Detailed error information when available.
  • timestamp: Time the error occurred.

Common errors

  • 400: Invalid payload or failed validation.
  • 404: Endpoint not found or invalid path.
Example 404 response: