The request was unacceptable, often due to missing or invalid parameter(s). In this case, a JSON-encoded error response is returned with the message property. message contains the details about the error and possible solution.
No valid API key was provided.
Can be for the following reasons which will be indicated in the messagefield in the response:
ImageKit could not authenticate your account with the keys provided.
An expired key (public or private) was used with the request.
The account is disabled.
If you are using the upload API, the total storage limit (or upload limit) is exceeded.
Too Many Requests
Too many requests hit the API too quickly.
We recommend you throttle the request rate as per the
value of X-RateLimit-Limit and X-RateLimit-Reset response headers and stay within rate limits.
500, 502, 503, 504
Something went wrong with ImageKit.io API.
Please create a support ticket by emailing us at [email protected].
Request ID (x-ik-requestId)
All API response contains a x-ik-requestId header. The value of this header is a unique identifier associated with the API request. If you face any issues with any API, then provide this header value in your support ticket to help us troubleshoot the issue quickly.