Soundcloud API在公共可用轨道上返回404找不到错误

问题描述 投票:0回答:1

这里是示例

Track URL:https://soundcloud.com/bingoplayers/hysteria-radio-056

此曲目存在于SoundCloud上并公开可用

解析api网址:

http://api.soundcloud.com/resolve.json?url=https://soundcloud.com/bingoplayers/hysteria-radio-056&client_id={client_id}

API响应:

response : 
{
    "errors": [
        {
            "error_message": "404 - Not Found"
        }
    ]
}

使用不同的客户端ID进行检查,每次都返回相同的响应。其他曲目也可以与相同的客户端ID一起正常工作。

soundcloud
1个回答
0
投票

响应为302,如此处所述https://developers.soundcloud.com/docs/api/reference#resolve

您的浏览器正在重定向。通过curl在终端上运行它,您将看到原始响应

© www.soinside.com 2019 - 2024. All rights reserved.