You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@idanlo I think I've run into a similar issue but I would need to validate before really diving into it. If you through a catch after you then, do you mind outputting what it shows?
So it would look like this:
What I'm seeing in my console for both playlists/${playlistID}/followers/contains GET request and the playlists/${playlistID}/followers DELETE request is the error message of Error: Service not found
I'm on iOS but I would imagine the same thing...so I tried going into RNSpotify.m and debugging and I got as far as inspecting the request on line 961 of [[SPTRequest sharedHandler] performRequest:request callback:^(NSError* error, NSURLResponse* response, NSData* data)
The response from this request comes back as: {"error": {"status": 404,"message": "Service not found"}} but again, as you say, it works in the console and postman. The SPTRequest is coming from the Spotify framework...so I wonder if it's a version problem? I don't quite know why it would fail as I would assume it is just an API request,but maybe?
If you dont mind sharing if that's the same error you are receiving I think we can debug this more. Right now it seems like there may be something up with the playlist/.../followers endpoints on the Spotify framework side.
Update - if this is still causing you problems and it is a problem with the SDK version, you can always get the access token from getSession and then use your own api request (axios, fetch, etc). to send a request to the Spotify API. I just did that and it works for me 🤷♂️
i'm trying to reach this endpoint https://developer.spotify.com/documentation/web-api/reference/follow/check-user-following-playlist/, my code looks like this:
but I get the following error:
i tried to do this request with the same data on their web console and it worked.
I only have an android device so I don't know what happens on IOS.
The text was updated successfully, but these errors were encountered: