Error: restricted_client when authorization Youtub

2019-01-14 09:35发布

I got this error when I create new client secret in new project.

  1. That’s an error.

Error: restricted_client

Unregistered scope(s) in the request: https://www.googleapis.com/auth/youtube.readonly

Request Details access_type=offline response_type=code client_id=487794563386-mujtj6b5iatnmvdailldn468gg028p8g.apps.googleusercontent.com redirect_uri=http://localhost:61515/authorize/ scope=https://www.googleapis.com/auth/youtube.readonly That’s all we know.

How could I fix that ?

1条回答
该账号已被封号
2楼-- · 2019-01-14 10:24

403 errors are errors with the users access. The user you are currently authenticated with does not have permission to do what you are trying to do in your case it appears to have something to do with the following scope.

https://www.googleapis.com/auth/youtube.readonly

Its hard to know what you are doing without seeing your code. I suggest you attempted to authenticate your user again. IF you changed the secret then its not going to work with a refresh token generated by another secret.

I am going to contact Google to be sure that there hasnt been any changes recently. I cant see anything in the change logs myself. There may have been a stealth change that they didnt release.

Status

查看更多
登录 后发表回答