Errors

All errors are formatted as JSON objects with the following structure. The statusCode field is the same as the HTTP status code returned by the server.

PropertyTypeDescription
errorstringA short error code or message.
statusCodenumberHTTP status code (e.g., 400, 404).

Examples

{
"error": "not logged in",
"statusCode": 401
}
{
"error": "Invalid username",
"statusCode": 400
}
{
"error": "Not Found",
"statusCode": 404
}


Last updated: 6/1/2025
Edit this page on GitHub