Some API endpoints randomly return error 403
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Since 2021-06-28 14:10 UTC I've started to receive random HTTP 403 errors for the following endpoints:
- /v1/me
- /v1/me/player/currently-playing
- /v1/artists
- /v1/tracks
The last two deal with public data, so technically they should never return error 403 in the first place.
Usually retrying the request makes the error go away, but sometimes it takes up to four or more attempts.
Here's a typical response that I get:
"body": {},
"headers": {
"cache-control": "private, max-age=0",
"access-control-allow-origin": "*",
"access-control-allow-headers": "Accept, App-Platform, Authorization, Content-Type, Origin, Retry-After, Spotify-App-Version, X-Cloud-Trace-Context, client-token, content-access-token",
"access-control-allow-methods": "GET, POST, OPTIONS, PUT, DELETE, PATCH",
"access-control-allow-credentials": "true",
"access-control-max-age": "604800",
"content-encoding": "gzip",
"strict-transport-security": "max-age=31536000",
"x-content-type-options": "nosniff",
"date": "Tue, 29 Jun 2021 07:25:36 GMT",
"server": "envoy",
"via": "HTTP/2 edgeproxy, 1.1 google",
"alt-svc": "clear",
"connection": "close",
"transfer-encoding": "chunked"
},
"statusCode": 403,
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page