Soundcloud http错误401客户端错误Python

时间:2020-07-01 00:15:15

标签: python oauth oauth-2.0 soundcloud http-error

我正在使用soundcloud-python API为客户端创建项目。我正在尝试使用以下代码行:

client = soundcloud.Client(client_id="xxx", client_secret="xxx", username="xxx", password="xxx")(在soundcloud网站https://developers.soundcloud.com/docs上找到)

使用正确的凭据这样做时,我得到:

requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://api.soundcloud.com/oauth2/token

有人知道这是怎么发生的或为什么发生的吗?我已经对我的凭据进行了两次和三次检查,它们是正确的。我已经坚持了几个小时。

谢谢!

0 个答案:

没有答案