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

IG Rest API gives error.security.client-token-invalid after 13-14 hours of continuous usage #268

Closed
MilindRCodes opened this issue Nov 18, 2022 · 6 comments

Comments

@MilindRCodes
Copy link

I observed that the IG Rest API gives the error.security.client-token-invalid error after 13-14 hours of continuous usage in the demo account.

I would appreciate guidance on possible ways to overcome this error.

Thank you.

@bug-or-feature
Copy link
Member

@galburn
Copy link

galburn commented Nov 18, 2022

I don't experience this issue. Can you please detail exactly how you see it?

@MilindRCodes
Copy link
Author

MilindRCodes commented Nov 18, 2022

[@galburn]

I put it on a continuous run using the demo account and after 13-14 hours, I got this error,

I tested it twice and got this error everytime.

IG Error

@galburn
Copy link

galburn commented Nov 18, 2022

I don't see this issue at all. My code runs all week without a problem. Can you put up the code? Particularly which version of the login calls you are using. Ideally, a minimal code version that shows the issue.

@Zartexo
Copy link

Zartexo commented Dec 5, 2022

Are you doing anything in the first 13- 14 hours? The token expires after about 12 hours if not used. It automaticly refreshes upon opening a position, fetching open positions or something else

@bug-or-feature
Copy link
Member

No updates or responses, closing

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