2xx
range indicate success. Codes in the 4xx
range indicate an error that failed given the information provided (e.g., a required parameter was omitted, a charge failed, etc.).
Codes in the 5xx
range indicate an error with folk’s servers.
error
object that includes the following properties:
code
: The code that identifies the error.message
: A human-readable description of the error.documentationUrl
: An URL to the documentation that describes the error.timestamp
: The timestamp when the error occurred.requestId
: The request identifier.4xx
errors that could be handled programmatically (e.g., validation errors) include a details
property that provides more information about the error.
Refer to each specific error in order to see if a details
property is available and its shape.
400
401
Authorization
header.403
404
422
details
object includes an array of issues
describing each validation rule that has failed validation. You can find an exaustive list of all available properties on the official Zod documentation.
429
details
object offers additional information about the rate limit and the reset time. It includes the following properties:
limit
: The maximum number of requests allowed per minute.remaining
: The number of requests remaining in the current rate limit window.retryAfter
: The ISO 8601 Datetime when the rate limit will be reset.500
requestId
shown in the response.
503
requestId
shown in the response.