Invalid `api_key`.

loss_maxer
loss_maxer edited May 6 in API clients
Hello,
I have been trying to get myself a 'request_token' but to no avail.
I have been hitting
https://kite.zerodha.com/connect/login?v=3&api_key=x3cq9fmin2t7wfi7
on my postman as well as curl, with api_key as the key I see on my personal app's dashboard, but to no avail. I am being hit with "{"status":"error","message":"Invalid `api_key`.","data":null,"error_type":"InputException"}"
I have tried pausing and resuming the app, creating a different app, but to no avail.
Right now I have put a dummy redirect url (google.com), but it even with that, I should atleast get the redirect.
Thanks in advance for help!
S

Tagged:
  • sujith
    It seems like you have deleted this app. You can use the new app's api_key.

    PS: Make sure you don't share the app and client specific tokens on public threads. You may private message if you have to share these tokens.
  • loss_maxer
    Thanks sujith! I was able to solve it. And make a guess what was the issue? While copying to postman, I had an extra space character in the API key!!
    :facepalm
Sign In or Register to comment.