Bad credentials on API when getAccessTokenSilently()

Hello everyone,

I am new in Auth0 so I would like to apologize for my limited knowledge on the topic.

I’m facing some difficulties with the Auth0 API in my React application. Specifically, when using the getAccessTokenSilently() function to obtain a token and then sending it via axios to an API, I’m receiving an “invalid token” error. I have correctly configured the audience in the settings, so I’m not sure what could be causing this issue.

I have tried some troubleshooting steps, but still not working. I would appreciate any insights or suggestions from the community.

Thank you for your time and any assistance you can provide!