Earlier after auth_code=ey......................&sample I was getting and copying and pasting but today I got auth_code =ey..................&no_sw_cr=1 so even after pasting it I am getting error message.
Fyers apiv3 auth code error
Best reply by Inactive Member
Hello Jyotirmaya Chandra, it appears that the auth code may have been copied incorrectly. Please try generating a new auth code and attempt again. To avoid confusion while copying the auth code, you can use the redirect URL provided in the v3 documentation. It will make it easier to copy the auth code accurately.
Also, if changes are made to the redirect url in the sample code it has to be changed in the application as well in https://myapi.fyers.in/dashboard.
2 replies