Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Intermittent 404 when using the `/v1/search` endpoint.

Intermittent 404 when using the `/v1/search` endpoint.

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)

 

 

Reply
2 Replies

These issues resolved at 04:40am on the  4th June 2020. 🙌

 

I'm glad to hear this got resolved for you @dan_thomson_bbc - feel free to update this thread if you see it happening again 🙏

Suggested posts