1

刚刚访问了 Google My Business API 并按照此处的说明进行操作:https ://developers.google.com/my-business/content/get-started

项目信息

PROJECT_ID=twocents-评论

PROJECT_NUMBER=705754565185

我正在尝试使用 OAuth 2.0 Playground 将我的第一个 Google My Business API 请求发送到https://mybusiness.googleapis.com/v3/accounts,这是我得到的响应(如下)。

回复

GET /v3/accounts HTTP/1.1
Host: mybusiness.googleapis.com
Content-length: 0
Authorization: Bearer [**** REDACTED ****]
HTTP/1.1 404 Not Found
Content-length: 100
X-xss-protection: 1; mode=block
X-content-type-options: nosniff
X-goog-trace-id: 6748d818415fd6349e9763a87acb707e
Transfer-encoding: chunked
Vary: Origin, X-Origin, Referer
Server: ESF
-content-encoding: gzip
Cache-control: private
Date: Fri, 19 Jan 2018 23:28:51 GMT
X-frame-options: SAMEORIGIN
Alt-svc: hq=":443"; ma=2592000; quic=51303431; quic=51303339; quic=51303338; quic=51303337; quic=51303335,quic=":443"; ma=2592000; v="41,39,38,37,35"
Content-type: application/json; charset=UTF-8
{
  "error": {
    "status": "NOT_FOUND", 
    "message": "Method not found.", 
    "code": 404
  }
}

有什么建议么?

4

1 回答 1

2

谷歌还没有完成设置过程。我需要做的就是等待更长的时间让 API 为我工作。

于 2020-06-23T17:56:38.077 回答