Something very weird is happening
I’m creating a very simple request with Axios, and it actually returns the data from the endpoint, as I can clearly see in console, but still, it goes into the catch and throws the error:
AxiosError {message: 'Request failed with status code 403', name: 'AxiosError', code: 'ERR_BAD_REQUEST'
The worst part is that it is a 403 error (Unauthorized). It did already pick the data from the endpoint, so it is obviously authorized.
Do you have any ideas on how to debug this strange behavior?