Reputation: 5103
I have an app using SoundCloud's search service (tracks.json). It used to work fine but now all of a sudden it's crashing for some of our users.
This is the call I'm making:
I'm either getting an array returned, or a dictionary with the array inside a "collection" key. The result is inconsistent. I first assumed they were in the middle of a deployment but it's been like this for about 12 hours and still the same. I've also further discovered the following:
I noticed this blog post by their devs: https://developers.soundcloud.com/blog/offset-pagination-deprecated However that post doesn't mention anything about the response format changing. It also looks like that changed should have happened 2 months ago.
Is this just a bug on their part? Are they in the middle of a deployment? Anyone else seeing this? Is the response expected to be a dictionary now?
UPDATE:
This problem seems to be explicitly tied to searching for that URL. If I move the parameters around the response changes. This isn't a local caching issue since I confirmed the problem from someone else as well. My best guess is SoundCloud rolled something back but this URL is cached either by our ISP or SC itself.
Upvotes: 4
Views: 268
Reputation: 5103
It looks like SoundCloud just messed up because now I'm seeing the change rolled back. It took a while for the cache to clear though and reach all our users. This isn't the first time SC changed their API schema on us with little to zero notice. I have very little confidence that this won't happen again so I'll be wrapping their service inside a dummy one that we can fix behind the scenes without an app update.
Very disappointing that they've remained completely silent on this issue. I see no mention of any API changes, bad-deployments, etc on their twitter feed: https://twitter.com/SoundCloudDev
Upvotes: 2