Post

I wrote up a debug log on one of my "favorite" errors of all time: Unexpected Token: '<' It's currently the #15 most common error on the Internet. trackjs.com/javascript-e... #javascript #webdev #debugging

trackjs.comHow to fix `Unexpected token '<'`This SyntaxError happens when code tries to parse HTML as JSON. Usually your API returned an HTML error page (like a 503 gateway error) instead of the JSON data you expected. Here's how to handle it p...

1 repost4 likes

No replies yet.