-
Notifications
You must be signed in to change notification settings - Fork 39
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
Auth token not refreshed #164
Comments
Hey @dantio, do you have time to take this on? I could take a stab at it, I think it's just one line. |
We haven’t experienced this error yet, and I’m not sure how to reproduce it. If you can explain to me how to trigger this error message, I will try to fix it. Please go ahead if you have time to fix it. I would appreciate it. 😊 |
Here's a repro:
And eventually, you'll get this error. The token should be refreshed and it isn't:
Changing the "catch" as follows works:
|
Ah, you are using the Auth token. I see. I'll add this check in the next release. Thank you! |
I have published it as |
Thanks! I started using it. Will let you know if there are any issues. |
Describe the bug
I believe I have a use case where the token should automatically get refreshed, but it is not.
Code
Output
expected data
This error self-resolves, so I think it has to do with the token not being refreshed, and then some other call down the line does the refresh. https://community.ebay.com/t5/eBay-APIs-Talk-to-your-fellow/get-a-new-auth-token-where-do-i-go-to-get-it/td-p/33655751
Would you like to work on this issue?
The text was updated successfully, but these errors were encountered: