“Not sufficient permissions” google analytics API service account

后端 未结 11 1636
执念已碎
执念已碎 2020-12-24 12:16

I\'m trying to fetch data with the Google Analytics API through service accounts.

I have been searching on stackoverflow how to do this and been using the exact sam

11条回答
  •  暖寄归人
    2020-12-24 12:42

    Got the same error but after a while I recognized that i was using this script with my google chrome (my own email adress) but the Analytics API is running on the companies email. So the solution could be to edit the settings of your google chrome. Just disconnect from the gmail account in your google chrome (settings) and test it again.

提交回复
热议问题