You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @puneetkansal04 👋 Can you please share the original code snippet with your query and the error policy you're using, and also the shape of the response when it throws an unauthorized error?
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
For general questions, we recommend using StackOverflow or our discord server.
Issue Description
var data = result.data; result.partial; var resultWithoutPartial = tslib.__rest(result, ["data", "partial"]);
this.toQueryResultCache.set(result, (queryResult = tslib.__assign(tslib.__assign(tslib.__assign({ data: data }, resultWithoutPartial), this.obsQueryFields), { client: this.client, obser
vable: this.observable, variables: this.observable.variables, called: !this.queryHookOptions.skip, previousData: this.previousData })));
Link to Reproduction
@apollo/client
Reproduction Steps
Getting this issue if I fired an api with the expired token and it throws a error of unauthorised.
@apollo/client
version3.10.4
The text was updated successfully, but these errors were encountered: