No authorization token was found - POST request to custom API secured with express-jwt

Hi,

I’m trying to make a POST request to a secured endpoint on my custom API server. All other requests return as expected. The endpoint uses express-jwt to check the supplied token as outlined in the Auth0 documentation.

I’ve checked and both the authorization header and body data is received correctly by the API. To make the request, I’m using axios.

axios.post(${API_URL}/,{headers, data:data})…

Am I making a rookie error?

Any help would be greatly appriciated, thanks!

Bump! Any suggestions?

Hey there!

Sorry for such delay in response! We’re doing our best in providing the best developer support experience out there, but sometimes the number of incoming questions is just too big for our bandwidth. Sorry for such inconvenience!

Do you still require further assistance from us?