Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add service account json file to Auto-GPT.??? #1

Open
jeffreycam opened this issue Apr 26, 2023 · 6 comments
Open

Add service account json file to Auto-GPT.??? #1

jeffreycam opened this issue Apr 26, 2023 · 6 comments

Comments

@jeffreycam
Copy link

I can't seem to complete the installation of this plugin...I have successfully added youtube, twitter, and email...but this set of instructions appears to be for an advanced user of Google APIs and Analytics APIs.

What exactly doe this mean?
Add service account json file to Auto-GPT. What service account json file? I have the service account created, but I don't have clue about this json file it's asking, which causes it to fail execution.

Any input would be ideal.

@isaiahbjork
Copy link
Owner

I can't seem to complete the installation of this plugin...I have successfully added youtube, twitter, and email...but this set of instructions appears to be for an advanced user of Google APIs and Analytics APIs.

What exactly doe this mean?

Add service account json file to Auto-GPT. What service account json file? I have the service account created, but I don't have clue about this json file it's asking, which causes it to fail execution.

Any input would be ideal.

Go to Google Cloud, enable the Google Analytics Reporting API, credentials > keys > Add Key > Create New Key > JSON, add this to the auto-gpt and rename it firebase.json.

@cyberclone33
Copy link

cyberclone33 commented Apr 27, 2023

Guyssss would love some help please !

I keep getting User does not have sufficient permissions for this profile despite following all the steps.


Command google_analytics returned: Error: <HttpError 403 when requesting https://analyticsreporting.googleapis.com/v4/reports:batchGet?alt=json returned "User does not have sufficient permissions for this profile.". Details: "User does not have sufficient permissions for this profile.">


Here are the steps I have taken so far

  1. set up google service account , download the json -> rename it Firebase.json -> put in folder of AUTOGPT
  2. Allow analyst permission in google analytics for this service account

Also, there are pull requests in my google analytics api , so there is evidence that the Firebase.json is working ?
Wouldl love any tips and help ..! thanks !

@isaiahbjork
Copy link
Owner

Guyssss would love some help please !

I keep getting User does not have sufficient permissions for this profile despite following all the steps.


Command google_analytics returned: Error: <HttpError 403 when requesting https://analyticsreporting.googleapis.com/v4/reports:batchGet?alt=json returned "User does not have sufficient permissions for this profile.". Details: "User does not have sufficient permissions for this profile.">


Here are the steps I have taken so far

  1. set up google service account , download the json -> rename it Firebase.json -> put in folder of AUTOGPT

  2. Allow analyst permission in google analytics for this service account

Also, there are pull requests in my google analytics api , so there is evidence that the Firebase.json is working ?

Wouldl love any tips and help ..! thanks !

Make sure you added the email that's in firebase.json in your Google Analytics View Management. Did you also enable Google Reporting Analytics?

@cyberclone33
Copy link

Guyssss would love some help please !
I keep getting User does not have sufficient permissions for this profile despite following all the steps.

Command google_analytics returned: Error: <HttpError 403 when requesting https://analyticsreporting.googleapis.com/v4/reports:batchGet?alt=json returned "User does not have sufficient permissions for this profile.". Details: "User does not have sufficient permissions for this profile.">

Here are the steps I have taken so far

  1. set up google service account , download the json -> rename it Firebase.json -> put in folder of AUTOGPT
  2. Allow analyst permission in google analytics for this service account

Also, there are pull requests in my google analytics api , so there is evidence that the Firebase.json is working ?
Wouldl love any tips and help ..! thanks !

Make sure you added the email that's in firebase.json in your Google Analytics View Management. Did you also enable Google Reporting Analytics?

I have added the email in the Firebase.json and granted it permission to google analytics.
I’ve also enabled google reporting analytics ..
don’t know what’s wrong T.T

@isaiahbjork
Copy link
Owner

Guyssss would love some help please !

I keep getting User does not have sufficient permissions for this profile despite following all the steps.

Command google_analytics returned: Error: <HttpError 403 when requesting https://analyticsreporting.googleapis.com/v4/reports:batchGet?alt=json returned "User does not have sufficient permissions for this profile.". Details: "User does not have sufficient permissions for this profile.">

Here are the steps I have taken so far

  1. set up google service account , download the json -> rename it Firebase.json -> put in folder of AUTOGPT
  1. Allow analyst permission in google analytics for this service account

Also, there are pull requests in my google analytics api , so there is evidence that the Firebase.json is working ?

Wouldl love any tips and help ..! thanks !

Make sure you added the email that's in firebase.json in your Google Analytics View Management. Did you also enable Google Reporting Analytics?

I have added the email in the Firebase.json and granted it permission to google analytics.

I’ve also enabled google reporting analytics ..

don’t know what’s wrong T.T

Try giving it the admin role instead of analyst.

@cyberclone33
Copy link

Guyssss would love some help please !

I keep getting User does not have sufficient permissions for this profile despite following all the steps.

Command google_analytics returned: Error: <HttpError 403 when requesting https://analyticsreporting.googleapis.com/v4/reports:batchGet?alt=json returned "User does not have sufficient permissions for this profile.". Details: "User does not have sufficient permissions for this profile.">

Here are the steps I have taken so far

  1. set up google service account , download the json -> rename it Firebase.json -> put in folder of AUTOGPT
  1. Allow analyst permission in google analytics for this service account

Also, there are pull requests in my google analytics api , so there is evidence that the Firebase.json is working ?

Wouldl love any tips and help ..! thanks !

Make sure you added the email that's in firebase.json in your Google Analytics View Management. Did you also enable Google Reporting Analytics?

I have added the email in the Firebase.json and granted it permission to google analytics.
I’ve also enabled google reporting analytics ..
don’t know what’s wrong T.T

Try giving it the admin role instead of analyst.

I

Guyssss would love some help please !

I keep getting User does not have sufficient permissions for this profile despite following all the steps.

Command google_analytics returned: Error: <HttpError 403 when requesting https://analyticsreporting.googleapis.com/v4/reports:batchGet?alt=json returned "User does not have sufficient permissions for this profile.". Details: "User does not have sufficient permissions for this profile.">

Here are the steps I have taken so far

  1. set up google service account , download the json -> rename it Firebase.json -> put in folder of AUTOGPT
  1. Allow analyst permission in google analytics for this service account

Also, there are pull requests in my google analytics api , so there is evidence that the Firebase.json is working ?

Wouldl love any tips and help ..! thanks !

Make sure you added the email that's in firebase.json in your Google Analytics View Management. Did you also enable Google Reporting Analytics?

I have added the email in the Firebase.json and granted it permission to google analytics.
I’ve also enabled google reporting analytics ..
don’t know what’s wrong T.T

Try giving it the admin role instead of analyst.

still the same after changing to admin role

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants