Google API: Not a valid origin for the client: url has not been whitelisted for client ID “ID”

前端 未结 17 1607
北海茫月
北海茫月 2020-12-23 14:34

I need help. I don\'t found an answer to my question. I tried googling and I tried asking on other sides but I never found an answer.

I\'m working with the google API

17条回答
  •  萌比男神i
    2020-12-23 14:40

    The documentation says not to overlook two critical steps ("As you go through the instructions, it's important that you not overlook these two critical steps: Enable the Analytics API Here's what worked for me:

    1. Enable the Analytics API
    2. back to you credentials , delete previous OAuth 2.0
    3. now create new OAuth with correct origins

提交回复
热议问题