Can't call external api on localhost - QuickStart

I keep getting an error message when trying to call the external api on localhost. I only get this error when I run the api on a different port without using a “proxy” as in the Quickstarts. I just needed to test out how to retrieve token from the API but keep getting the following error:

GET https://localhost:3001/api/external net::ERR_SSL_PROTOCOL_ERROR

Any idea why?

Hey there @bigbabs and welcome to the Auth0 Community!

Can you share the quickstart you are altering and running into the trouble with? Also can you share the repo so we can take a deeper look? Thanks!

Thanks for your quick reply. Here’s the quickstart I was following:

So all I did was separate the server.js code and made it a stand-alone node API running on a different port. I understand the example runs the server in the React project. But why wouldn’t it work when separated? I don’t know if I’m missing something :pensive: