Getting "invalid request" error for https://api-t1.fyers.in/api/v3/token

Request is: https://api-t1.fyers.in/api/v3/token, fyers id=, pan_dob=, app id=, redirectURI, appType<100>, code_challenge<>, state, scope<>, nonce<>, response_type, create_cookie

Response is:

{protocol=h2, code=400, message=, url=https://api-t1.fyers.in/api/v3/token}, error {“code”:-441,“message”:“Invalid request”,“s”:“error”}, request data - url

This is happening for last 3/4 days. But after couple of attempts, this REST endpoint used to succeed and then there wasnt any issue till the session ends. But today, its continuously failing.

Since migration to V3 (more than year back), this code used to function absolutely fine.

Any idea whats the issue?

Hey @EpRyfaCupi ,

Could you please DM the code snippet you have used for which you have faced this error

Hey @EpRyfaCupi ,

Could you please pass the create_cookie as boolean instead of string , it should work

I also face same problem what i do ??

Thanks Abhishek. Looks like the problem was only on that day. I didnt make any code hanges, but from next day on, haven’t faced this issue.

Hi, this is different issue than mine. In my case, issue got resolved automatically the very next day. As per the error message, user authentication itself failed, so check steps of getting session token.