Invalid api_key despite sending accurate info

mkrathi
mkrathi edited August 2023 in Python client
Hello,

We have successfully generated a new API key and generated secret code. Now in code we passing same to generate access token but but it is giving below error :
{
"status": "error",
"message": "Invalid `api_key`.",
"data": null,
"error_type": "InputException"
}

We are 100% sure that we passing right API and Secret key and code is absolutely working fine since the same code is used for other API key and it works like charm. So issue is definitely at your end. Please help
  • mkrathi
    BTw, this is not just with me, I see this is with everyone. I have other accounts where same error is being generate and they all have valid API keys. Just checked with friends they also have same issue. This was ok until last night 10PM. that was last time I was running mode code and able to connect to ZERODHA using API. Now in morning it is erroring out to generate access token
  • mkrathi
    there problem seems to be here. The URL always sending None value

    https://kite.zerodha.com/connect/login?api_key=None&v=3
  • mkrathi
    Please close this ticket no action needed. Found issue what was causing this. Not your problem. apologies for inconvinience
This discussion has been closed.