- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
*Update I can query the artists node by providing their ID I only get 403 when querying the /me endpoint*
Working on a react application that allows a user to log in to Spotify and then displays their top 10 tracks and top 10 artists.
I can login with no problem, but when I request a users top tracks and artists I get this response from the API:
Failed to load resource: the server responded with a status of 403 ()
The account has been added to my Spotify dashboard, which I thought was the issue at first.
I've also tried writing the request with axios.get() and fetch(), both had the same status code.
Is there something wrong with my authorization flow? Or is the request improperly formatted?
My App.js and LogButton.js files which contain the authorization and request flows are attached
TYIA! Any help is greatly appreciated
Solved! Go to Solution.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page