Skip to main content
An error the API returns is a JSON object with a message and a code. Handle errors by HTTP status. Each problem in an issues array has a message, and a path to the field, such as ["terms", "lineItems", 0, "amount"].