how to debug a fetch call?

I am trying to run a fetch with authentication but failing miserably. Also even without authentication the open rest API endpoints we use do not seem to work.

Hi @FBosler ,

Could you share some more details about the API endpoint? What authentication does it use? URL parameter or auth in the header of the request?

One way to debug would be to open your dev tools and looking at the network request and response from your browser.

And also the console. Sometimes requests with CORS issues look like they work in the network tab but have no data associated with them and will show big red errors in the js console.