Anyone know the most common js fetch failed reason and how to fix it?

14 Replies, 2023 Views

Thanks, everyone! This is super helpful. I checked the network tab, and it looks like CORS is the main js fetch failed reason. I’ll try tweaking the server config and maybe use a proxy like ngrok.

Also, I didn’t even think about mixed content—my site is HTTPS, but the API is HTTP. Gonna fix that ASAP.

Quick question: If I use a proxy, do I still need to worry about CORS headers? Or does the proxy handle it?

Thanks again! You guys are lifesavers. 🙌

Messages In This Thread



Users browsing this thread: 1 Guest(s)