Hello, I’m trying to integrate imagekit upload option in n8n using “http node” I have gone through the documentation and setup the header also as below
Authorization
key : basic
but still when using : https://upload.imagekit.io/api/v1/files/upload
it gives an error :
Bad request - please check your parameters
Your request is missing authorization parameters. Read the upload API documentation.
can someone please help
***basic (my private key in converted into base64 format)
Please check that you are creating the Authorization header correctly with the trailing :.
As per the documentation, Send your HTTP requests with the Authorization header that contains the word Basic word followed by a space and a base64-encoded string username:password. For example, if your private key is private_rGAPQJbhBx, encode private_rGAPQJbhBx: (notice the trailing : as password is empty) using base64.
If the problem still persists, then please share your config on n8n.