Machine to Machine application cannot retrieve API token

Hi, I’m working on implementing a Machine to Machine application in a server to communicate with an internal API. I followed the steps on the Auth0 page but I still get a 401 when the token is requested using an axios POST.

My M2M application is already authorized for the API, and requesting the token via the cURL sample in the Dashboard works properly.

Can I get some help with this?

I solved it, it appears it was a problem with axios, not related to Auth0

1 Like

Perfect! Glad you have figured it out!