Skip to main content
Asked a question last year

How to get rid of "{'code': 401, 'data': [], 'message': 'Invalid AppId'}" login error?

Join FYERS Community to pick others' brains on Trading/Investing

Hi Sir,
Apologies for the late reply,
Please not we have migrated to API_V2.
These issue may arise due to some reasons, 
1.If the app_id passed is not correct,
2.If the app_type is not present (like -100, -101)
3.IF the Auth-code generation url is incorrect, the url will look like this        """ client_id=SPXXXXE7-100& &response_type=code&state=sample_state&nonce=sample_nonce"""