I encountered an error while running Google Analytics add-on on Google Sheet - here below is the error message when I clicked run report:
API call to analyticsreporting.reports.batchGet failed with error:
User does not have sufficient permissions for this profile.
I tried changing the parameters and reached out to Google Analytics support, but there were still no solutions yet.
Anyone would be able to help? Thanks so much.
User does not have sufficient permissions for this profile.
The issue is that the user you have authenticated with does not have access to the universal analytics account you are trying to connect to.
You need to use a user who has read access or you need to Grant that user read access.
Related
I have got an error when following this Microsoft tutorial. This is the error I'm getting pic of error
I only get this error when I try to login with my organizational AD account, however when I log in with my personal Microsoft account all work as expected.
I'm new to both Microsoft Graph and Larvel I'm not 100% sure what is causing the issue, but I believe that it might have something to do with permissions for the owned app in AD. If so what permissions do I need to allow as the tutorial I believe doesn't cover this.
I would also like to only allow logins from my organizational AD and not a personal Microsoft account but when I set the app to a single-tenant nothing works.
here is my Github repository
here is a picture of my owned app permissions
here is a picture of the error you get pic of error
hopefully, I have included everything that might need to help
got this working by ensuring that I had user read permissions and mail read setting enabled on the owned permissions list and my org is still an on-prem mail system which is unable to get the calendar from this can only be done with online mail and hybrid mail servers
My app has been OAuth verified for youtube and youtube.upload.
When I OAuth with these scopes, it's still not working.
I get the following in the web browser as before verification. They closed out my ticket, so I have no means to contact them.
Sign in with Google temporarily disabled for this app
This app has not been verified yet by Google in order to use Google Sign In.
If you are a developer for this application, please submit a verification request to re-enable Sign in with Google. Learn more
Please advise
Sign in with Google temporarily disabled for this app This app has not been verified yet by Google in order to use Google Sign In.
If you are a developer for this application, please submit a verification request to re-enable Sign in with Google. Learn more
The message you are getting clearly states the issue. Your application is not verified or its verification has bee removed. In order to fix this you must go thought he verification process. You might want to check your email and see if there is any messages from google as to why your verification was removed. I have seen several posts like this over the last week it seams Google may be going though projects.
I need to authenticate to an API using OAUTH2, however, it has to be made programmatically, no user typing stuff in a browser is permitted.
This seems like such a simple use case, but I haven't found anything online, the only thing close to it was this post, and the only answer is "yeah, you don't want to use a web browser, but what if you do?"... This doesn't help.
So, please, opening a web browser is not an option, I just want to know if Google provides any way to authenticate purely through code.
Thank you!
In order to achieve your goal, I would like to propose to use the Service account. When the Service account is used, the access token can be retrieved without using the browser.
As the points for using the Service account, please check the following points.
The Service account is not your own Google account.
For example, as one of several situations, if you want to manage a file in your Google Drive using the Service account, please share the file with the Service account. By this, the Service account can access to the file in your Google Drive.
References:
OAuth2ServiceAccount
Several cases using the Service account
Google Drive Access - Service Account or OAuth - To read/write user files
Google service account not being authorized for calendar API
Service Account for google sheets returns not found
I want to access to the calendar to read/create event from the user if he agrees.
I've followed the guide https://developers.google.com/google-apps/calendar/v3/sync
I've actived the api with my google account. Then use the OAuth 2.0 to get a code and the token.
When I follow the test, I use another account to simulate a random user.
Arrived at the lecture of the agenda, I get this error:
Error calling GET https://www.googleapis.com/calendar/v3/calendars/primary/events?maxResults=10&orderBy=startTime&singleEvents=true&timeMin=2016-06-14T11%3A28%3A25%2B02%3A00: (403) Access Not Configured. Calendar API has not been used in project 1056... before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/calendar/overview?project=1056... then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
It seems legit but I don't want the user to active the api on his side...
What am I missing?
Go to Google Developers console and enable the Google Calendar API. You need to tell Google which APIs your application will be accessing.
I am trying to build an iOS application that all users sharing the same google drive account. All users will access the same account to download content only. I am the only one who is uploading content to google drive on web. For this case, is it possible to skip the login and auth process for the user? It would be great if I can have the users directly download the content, and hopefully make the login and auth implicitly done by code.
Please help. Thanks in advance.