"Something went wrong" 消息试图通过 Partner Connections Manager 进行授权

"Something went wrong" message trying to authorize with Partner Connections Manager

当我在浏览器中加载 Partner Connections Manager 授权 URL 时,我收到以下错误消息:

Something Went Wrong

如何解决此问题?

确保您的设备访问项目和合作伙伴连接管理器 (PCM) 之间的 OAuth 客户端 ID 匹配 URL,并且您在 URL 中使用了正确的项目 ID。

在设备访问控制台中转到项目的项目信息页面。记下分配给您的项目的项目 ID 和 OAuth 客户端 ID。确保这些值与您在 PCM URL.

中使用的值匹配

例如,如果您项目的项目 ID 是 32c4c3bc-fe0d-461b-b51c-f3885afff2f0 并且 OAuth 客户端 ID 是 90471209828-u96nolblvuk5jv1b22gdfvov4qgbcbhh.apps.googleusercontent.com,那么您的 PCM URL 应该如下所示:

https://nestservices.google.com/partnerconnections/32c4c3bc-fe0d-461b-b51c-f3885afff2f0/auth?
  redirect_uri=https://www.google.com&
  access_type=offline&
  prompt=consent&
  client_id=90471209828-u96nolblvuk5jv1b22gdfvov4qgbcbhh.apps.googleusercontent.com&
  response_type=code&
  scope=https://www.googleapis.com/auth/sdm.service

有关详细信息,请参阅设备访问站点上的Create a Project and Authorize an Account