Learn how to interpret and handle HTTP errors when working with the Straddle API
Status Code | Error Type | Description | Common Causes |
---|---|---|---|
400 | Bad Request | The request was unacceptable, often due to missing a required parameter. |
|
401 | Unauthorized | No valid API key provided. |
|
403 | Forbidden | The API key doesn’t have permissions to perform the request. |
|
404 | Not Found | The requested resource doesn’t exist. |
|
422 | Unprocessable Entity | The request was well-formed but was unable to be followed due to semantic errors. |
|
429 | Too Many Requests | Too many requests hit the API too quickly. |
|
500 | Internal Server Error | Something went wrong on Straddle’s end. |
|
Straddle-Account-Id
header.