Hey everyone,
Sooo, I’ve been banging my head against the wall trying to figure out why my js fetch keeps failing. Like, it *works* sometimes, but other times it just... doesn’t. 😩
Anyone know the most common js fetch failed reason? I’m guessing it’s something to do with CORS or maybe the API endpoint being wonky? Or is it just me messing up the headers?
Also, if you’ve got tips on how to fix it, pls share! I’m tired of refreshing my browser 50 times hoping it’ll magically work. 🙃
Thx in advance! ✌️
Sooo, I’ve been banging my head against the wall trying to figure out why my js fetch keeps failing. Like, it *works* sometimes, but other times it just... doesn’t. 😩
Anyone know the most common js fetch failed reason? I’m guessing it’s something to do with CORS or maybe the API endpoint being wonky? Or is it just me messing up the headers?
Also, if you’ve got tips on how to fix it, pls share! I’m tired of refreshing my browser 50 times hoping it’ll magically work. 🙃
Thx in advance! ✌️
