我按照所有说明选择和授权YouTube数据API,但是按照第8条说明选择了YouTube下的所有API之后,当我按照第9条说明单击“授权API”时, 400错误。
我已经阅读了有关此问题的其他一些问题,但是它们并不能完全按照我遇到的问题来描述我的问题。
有人可以给我清楚的指示吗?我需要YouTube的授权,因为YouTube希望验证我的年龄是否适合某些内容。
错误消息:
400. That’s an error.
Error: redirect_uri_mismatch
The redirect URI in the request,
https://developers.google.com/oauthplayground, does not match the ones
authorized for the OAuth client. To update the authorized redirect URIs,
visit:
https://console.developers.google.com/apis/credentials/oauthclient/837349161260-5q0fu84icl7uu5s0m9eg244ukq4sbqg7.apps.googleusercontent.com?project=837349161260
Learn more
Request Details
redirect_uri=https://developers.google.com/oauthplayground
prompt=consent
response_type=code
client_id=837349161260-
5q0fu84icl7uu5s0m9eg244ukq4sbqg7.apps.googleusercontent.com
scope=https://www.googleapis.com/auth/youtube
https://www.googleapis.com/auth/youtube.force-ssl
https://www.googleapis.com/auth/youtube.readonly
https://www.googleapis.com/auth/youtube.upload
ht<pre>tps://www.googleapis.com/auth/youtubepartner
https://www.googleapis.com/auth/youtubepartner-channel-audit
access_type=offline
That's all we know.