Announcements

Help Wizard

Step 1

NEXT STEP

403 error on GET v1/me/top/tracks

Solved!

403 error on GET v1/me/top/tracks

I have been working on an App using Kotlin which uses spotify API and to fetch user spotify account data and to play some music using the spotify App Remote.

 

Now as I proceeded with the app it is working all fine in my device but when I give the App to someone else or someone else tries to open it they cant fetch the  v1/me/top/tracks and the top artists data and they are getting an error saying :-

Bad OAuth request(wrong consumer key , bad nonce , expired timestamp...). Unfortunately, re-authenticating the user won't help here 

Response {

protocol=h2,code=403,message=,url=https://api/spotify.com/v1/me/top/tracks

 

And I have getting the same issue for the top artists too. Also Note that it is working fine when I am using it on my android device or on my emulator but it isn't working fine when someone else is trying to run the App.

Reply

Accepted Solutions
Marked as solution

"Newly-created apps begin in development mode. […] Up to 25 authenticated Spotify users can use an app that is in development mode — so you can share your app with beta testers, friends, or with fellow developers who are working on the app. Allow another user to use your development mode app by following these steps: [see linked page]" - https://developer.spotify.com/documentation/web-api/concepts/quota-modes

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

View solution in original post

2 Replies
Marked as solution

"Newly-created apps begin in development mode. […] Up to 25 authenticated Spotify users can use an app that is in development mode — so you can share your app with beta testers, friends, or with fellow developers who are working on the app. Allow another user to use your development mode app by following these steps: [see linked page]" - https://developer.spotify.com/documentation/web-api/concepts/quota-modes

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Thanks it works now and also sorry for the late reply... I just got way too busy with my week and couldn't reply at that time

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random