Check If User Follows Artists or Users API returns inconsistent results
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Plan
Free
Country
Multiple: Poland (testing from), US (backend infrastructure location)
Device
WEB/Curl
Operating System
OSX/Linux
My Question or Issue
API to check if current user is following artist returns inconsistent results. If I'm running it from my local env (from Poland), it returns correct results, however if I run same request with the same token, it returns incorrect results that don't reflect the actual situation.
Example curl:
curl --request GET \ --url 'https://api.spotify.com/v1/me/following/contains?type=artist&ids=2ye2Wgw4gimLv2eAKyk1NB%2C6mdiAmATAx73kdxrNrnlao' \ --header 'Authorization: Bearer 1POdFZRZbvb...qqillRxMr2z'
Response from my local env (Poland) which corresponds to actual state. The API calls from this location reflect the changes immediately.
[true, true]
Same curl running on one of our backend instances in US, always returns incorrect result and it doesn't change regardless if I follow or unfollow the artist.
[true, false]
Our APP is still in development mode and has the following scopes:
- "user-follow-read",
- "playlist-read-private",
- "user-library-read"
- Labels:
-
webapi
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page