-
Notifications
You must be signed in to change notification settings - Fork 57
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
How to handle token timeouts? #75
Comments
Which auth strategy is it happening with? Is it with POST and X-RequestDigest's only? |
Hmmm I'm using pnp-auth which does this transparently - I actually don't know :-/ I looked at it some more and I suppose if I override the |
This went away by itself it seems, but now it's back and I don't really know how to refresh the token apart from restarting the app. Any pointers on how to debug this would be greatly appreciated. |
Mystery solved: The timeout was shorter than the communication interval with the SP server. I changed the interval and now the error doesn't happen any more. So basically, the token gets refreshed automatically, but it does pass this error. Should this error not be hidden and the call retried with a fresh token? |
I'm encountering this again walking really big sites. Any ideas on where this error can be intercepted and transparently retried? |
I'm getting the error
on an on-prem SharePoint installation sometimes. I would like to retry transparently then - do you have a proposition for how to do this?
The text was updated successfully, but these errors were encountered: