Errors

When a request fails, the Guardis API returns a consistent error response format across all endpoints and protocols.

Error Response Format

All errors are returned as JSON with the following structure:

{
  "code": 401,
  "message": "Invalid API key provided"
}

Last updated