I’m using the below request to make the API to upload the image to Imagekit. I realized that it just accepts only the params token, expire, signature... When I add the Authorization header even combining with token, expire, signature... It returns the error 400 Bad request (Your request is missing authorization parameters. Read the upload API documentation.). Can you explain that message? Or I’m using it wrongly?
The Upload API expects a single authentication method per request. If you’re performing a server-side upload, use Basic Auth via the Authorization header. For client-side uploads, use the token-based approach by including the token, expire, and signature parameters.
Passing both authentication methods in the same request is not allowed and will result in the error: “Your request is missing authorization parameters. Read the upload API documentation.”