我正在尝试建立“用于服务器到服务器应用程序的OAuth 2.0”
请参考以下链接: https://developers.google.com/identity/protocols/OAuth2ServiceAccount
但是在调用Google API时卡住了。 调用读取用户API时遇到邮递员以下错误:
[
"domain": "global",
"reason": "backendError",
"message": "Service unavailable. Please try again"
"code": 503
]
通过POSTMAN获得呼叫,如下所示:
GET https://www.googleapis.com/admin/directory/v1/users/?customer=my_customer&access_token=ya29.c.ElqLB0jg5hIhlADRyOyJYOgluq3-mGAcvHMLF8xX9Z9SE1MdczypFZineVqQmCZxe7Tj3jA4HArgL8yc82wrOqymfqTVAhdKyN_W2NX3_kj8lJirOnXchTWOz8Q