Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/232.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Soundcloud 401错误/PHP包装的授权无效_Php_Soundcloud - Fatal编程技术网

Soundcloud 401错误/PHP包装的授权无效

Soundcloud 401错误/PHP包装的授权无效,php,soundcloud,Php,Soundcloud,尝试使用SoundCloud库上载文件时,我们刚刚开始收到一个401-无效\u grant错误 尝试重新生成令牌时,我会遇到相同的错误: https://api.soundcloud.com/oauth2/token?client_id=ID_HERE&client_secret=SECRET_HERE&redirect_uri={this is actually blank on our apps page}&grant_type=authorization_code&

尝试使用SoundCloud库上载文件时,我们刚刚开始收到一个
401-无效\u grant
错误

尝试重新生成令牌时,我会遇到相同的错误:

https://api.soundcloud.com/oauth2/token?client_id=ID_HERE&client_secret=SECRET_HERE&redirect_uri={this is actually blank on our apps page}&grant_type=authorization_code&code=XXXX
我的假设是我们需要刷新auth令牌,但我认为我们将其设置为非过期

如何防止此
401
错误并通过API上传音频

如果有任何帮助,请链接到博客。