Replies: 1 comment 1 reply
-
Your server does not valid JSON, but fetchBaseQuery defaults to parsing the response as JSON. A clean solution would be to have your server return If that's not an option, but your server at least sends back a valid content-type, you could set |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
trying the example of baseQueryWithReauth, I am facing a problem when I am calling the refresh endpoint, the result = await baseQuery, part returns error: SyntaxError: Unexpected token 'u', "unauthorized" is not valid JSON` and status: 'PARSING_ERROR', originalStatus: 403, what am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions