Intermittent 404 when using the `/v1/search` endpoint.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Plan
Commercial
Country
UK
Device
AWS EC2 instance
Operating System
Centos 7
My Question or Issue
Hi team 👋
We are the BBC Sounds team and we provide Spotify links to Tracks which are played in our content.
E.g: Go to https://www.bbc.co.uk/sounds/play/m001763n on the Tracklist section, click "..." and it should link to Spotify :]
To link our tracks we use the `https://api.spotify.com/v1/search` endpoint.
At 03:00BST on 3rd June (last night), we can see an increased number of 404s being returned for valid urls. In fact, I can query the same url multiple times over a given period and sometimes it will 200 OK, and every odd time it will 404. We have used this endpoint for a few years and it's behaviour isn't usually inconsistent like this, it only started at the time previously stated. Is there an issue your side?
Here is a script I run (https://pastebin.com/R0jPuvMn) to test inconsistecy. When I write the output to a log and query the output, I can see both 200 and 404s being returned for the exact same parameters - is this expected?
Any insight would be appreciated.
Thanks,
Dan Thomson (BBC Sounds)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page