Errors#
The Playbooks API uses standard HTTP response codes to indicate the status of an API request. When an error occurs, the Playbooks API will return a JSON API compliant error for client-side handling.
Attributes#
Attribute | Type | Description |
---|---|---|
Status | integer | The HTTP response code |
Title | string | A title for the error |
Detail | string | A message describing the error |
Framework | string | A stacktrace locating the error |
Request#
Requestcurl --location "https://api.playbooks.xyz/error"
Response#
Response{ "errors": [ { "status": 404, "title": "Not Found", "detail": "Sorry that route doesn't exist.", "stack": ... } ] }