Error Response Schema
Response body that will be sent by the API for failed requests
Example
{ "code": 401, "type": "invalid_key", "description": "The provided API key is not valid. Generate a new one in the portal", "docs": "https://cirrosense.com/docs/api-key" }
Attributes
-
code
integerCode representing the type of error
Example:
401 -
type
stringShort descriptive error string
Allowed values:server_exceptioninvalid_keyinvalid_paramslocation_not_found
Example:
invalid_key -
description
stringHuman-readable description of the error with guidance
Example:
The provided API key is not valid. Generate a new one in the portal -
docs
stringURL to relevant documentation
Example:
https://cirrosense.com/docs/api-key