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?
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: