Issue with Get auth_code via OAuth token endpoint

{‘code’: -16, ‘message’: ‘apptype mismatch’, ‘s’: ‘error’}

:cross_mark: Neither ‘Url’ nor ‘url’ key found in response.

I am trying 2FA with pyotp to automate 2FA process. That is going smoothly as of now. Next when I am trying to get auth_code, I am gettiing above error.

I have updated the Static IP from my local wifi and mobile phone, while running on both same issue.

Current Redirect URI and the same has been updated in Fyers new Dashboard:

REDIRECT_URI = "http://127.0.0.1:5000/"

It would be great if someone could help me with this error.

Hi @103830779843709085535,
Please ensure that the app type is set to 200. It seems that 100 is being passed currently.

Hi @103830779843709085535,

We discussed, it’s has been resolved. Thank you