Invalid api_key error despite active Kite Connect app

HarshParsaniya

Hello Zerodha Support,

I created a Kite Connect app and its status shows Active. I have copied my API key carefully, but when I open the authorization login URL, I receive this error:

`{"status":"error","message":"Invalid api_key.","error_type":"InputException"}`

Could you please check whether my API key/app is properly provisioned and why the login endpoint is rejecting it?

I intend to use the API for historical market data and paper trading only. I will not place live orders.

Thank you.
  • HarshParsaniya
    My Kite Connect app is Active. I have verified that I am using the correct API Key from the same app, and I have tested the login URL on both kite.zerodha.com and kite.trade. I still get "Invalid api_key".

    Please verify whether my API key is properly provisioned on your server and linked to my active subscription.
  • salim_chisty
    The Invalid api_key error occurs when the API key being used does not match the API key of the active app on your developer account. Please double-check that you are entering the correct API key exactly as it appears, without any extra spaces.

    You may refer to the similar discussion here. For further guidance, you can also refer to the documentation.​​
Sign In or Register to comment.