Skip to content

HTTP error: Problem

The error response body is the same for every method. For the meaning of each code and how to handle it, see HTTP error codes.

Returned by:

  • All methods — responses 400, 401, 403, 429, 500, 503
Field Type Description
type string (URI) https://developers.donatty.com/errors/<code>
title string
status integer
detail string
code string, values: missing_token, invalid_token, token_expired, token_in_query, wrong_token_type, insufficient_scope, origin_not_allowed, invalid_parameter, not_found, rate_limited, internal_error, service_unavailable
policy (may be absent) string, values: app-user, app, user, publishable-ip Only for rate_limited: the exhausted level.
{
"type": "https://developers.donatty.com/errors/invalid_parameter",
"title": "Invalid parameter",
"status": 400,
"detail": "The limit parameter must be an integer from 1 to 100.",
"code": "invalid_parameter"
}