2xx Range (Success): Codes in this range indicate a successful API request. This means the requested operation was completed as expected.

4xx Range (Client Errors): Codes in this range indicate an error related to the client’s request. These errors may occur due to missing required parameters, payment failures, or other client-specific issues.

5xx Range (Server Errors): These codes indicate an issue with Ivy’s servers. When you encounter a code in this range, it signifies an error on Ivy’s side rather than an issue with the client’s request.

Understanding these response codes helps developers work with Ivy’s API effectively and handle different scenarios appropriately, ensuring smooth and reliable integration.

HTTP Status Code Summary

Status CodeDescription
200 - OKThe request was successful, and everything worked as expected.
400 - Bad RequestThe request was unacceptable, often due to a missing required parameter.
401 - UnauthenticatedThe request was not authorized due to an invalid or missing API Key.
403 - AuthorizationThe provided API Key doesn’t have the necessary permissions to perform the request.
404 - Not FoundThe requested resource does not exist.
409 - ConflictThe request conflicts with another request, often due to using the same idempotent key.
423 - LockedThe requested resource is temporarily locked due to an ongoing operation. Please wait for the resource to become available again before retrying.
429 - Too Many RequestsToo many requests were made to the API in a short period. We recommend implementing exponential backoff for your requests.
500 - Internal Server ErrorThis code indicates a rare issue on Ivy’s servers: something went wrong on our end.

Error Attributes


code string A short string indicating the specific error code.


devMessage string | undefined A human-readable message providing additional details about the error.