Jamming project answers a GET 400 error: Fetch failed loading GET

The app seems to work fine but apparently it refuses to connect to Spotify for some reason. I guess it is something related with the token. The answer is:

“Only valid bearer authentication supported”.

Can anyone help? Thanks.

This is my Spotify.js:

The Spotify docs would suggest your header is incorrect where you’re supplying the token?

You have a : where the docs do not.

That was it!!! Thank you very much!!! I spent almost three hours on this issue.

1 Like

No worries.

Glad to know the issue is fixed.

Happy coding!

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.