401/Unauthorized calling from SPA to custom API

Hi there @AlwaysBuyCheap welcome to the community!

I’m assuming this is due to the Access Token missing an audience (aud) claim - This is specified as a param in the /authorize request and might be a good place to start.
https://community.auth0.com/t/what-is-the-audience/71414

I also came across the following topic which may be of use:

Let us know!