jiosaavn-api: Unable to fetch from API

Getting invalid response while testing out on your site and in the client: Unexpected token '<', \"<HTML><HEA\"... is not valid JSON Additionally, CORS errors keep popping up like below: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at [deployment] (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 404.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 15 (4 by maintainers)

Most upvoted comments

I think the issue is with vercel deployment, cloudflare ones work fine. I’ll look into vercel issue this weekend

The issue with vercel deployment has been fixed in the latest release - https://github.com/sumitkolhe/jiosaavn-api/releases/tag/v0.1.0