Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not able to login #17

Open
vinayakbhovi opened this issue Mar 25, 2022 · 3 comments
Open

not able to login #17

vinayakbhovi opened this issue Mar 25, 2022 · 3 comments

Comments

@vinayakbhovi
Copy link

I am getting the same error again and again . I have checked all credentials , but still it is not working i dont know why but before the same code used to work.

the following error is

ApiException: (401)
Reason: Unauthorized
HTTP response body: {"fault":{"code":900901,"message":"Invalid Credentials","description":"Access failure for API: /apim/session/1.0, version: 1.0 status: (900901) - Invalid Credentials. Make sure you have provided the correct security credentials"}}

@hhharsha36
Copy link

+1

@MumbaiDev
Copy link

Please check if you are passing correct Credentials, hope you have generated your API access Token again, Login to API portal> go to your Application > click on Production Key> Generate Access Token
A popup will appear use time as -2 for never expiry of your Access Token.

@tiwaribasu
Copy link

Sometimes, there will be issue with HOST in login. You can write the issue to tradeapi support to change your location if you're getting the 'Unauthorised' ERROR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants