1.

Client error: `POST https://accounts.google.com/o/oauth2/token` resulted in a `401 Unauthorized` response: { "error" : "invalid_client", "error_description" : "Unauthorized" }

編集

エラー内容

Client error: `POST https://accounts.google.com/o/oauth2/token` resulted in a `401 Unauthorized` response: { "error" : "invalid_client", "error_description" : "Unauthorized" }

 

発生条件/原因/対処法

callback URLのレスポンス内容で上記のエラーが出力される。

クライアント ID」と「クライアント シークレット」が間違えている。

Google Cloud Platformで確認すること。

編集
Post Share
子ページ

子ページはありません

同階層のページ
  1. Client error: `POST https://accounts.google.com/o/oauth2/token` resulted in a `401 Unauthorized` response: { "error" : "invalid_client", "error_description" : "Unauthorized" }
  2. Client error: `GET https://www.googleapis.com/plus/v1/people/me?prettyPrint=false` resulted in a `403 Forbidden` response: ... Google+ API