After adding Google Calendar as a source, the app works fine. I can add an event from Appsheet and it appears in the Google Calendar and vice versa, but minutes later, Appsheet shows an error.
This is the error message.
Unable to fetch app definition.
Error: Data table 'App para Talleres' is not accessible due to: The service calendar has thrown an exception. HttpStatusCode is Forbidden. Request had insufficient authentication scopes.: Message[Insufficient Permission] Location[ - ] Reason[insufficientPermissions] Domain[global].
The owner of the app is the same as the owner of the calendar.
I deleted the table created from the calendar and I created it again, but with the same result (the app stops working and displays the error message).
I found this article: Error message for calendar datasource
Any idea what's going on?
Solved! Go to Solution.
Hello. Everything seems to be fine.
I added the calendar using 2 ways:
The first one gave me the error and didn't work.
The second one works. In addition to following the steps in the article, I had to re-authenticate Appsheet with Google Calendar.
Thank you for your time @Trevwiller, @AleksiAlkio and @Steve.
Is the Table Accessed as user or creator?
Hello Trevwiller. The table is accessed as app creator.
Mobile view doesn't work, but desktop view still works.
The desktop view shows a red exclamation mark, but I can still add, edit, etc.
Have you tried to signout from your AppSheet account and then logged in again?
I just did it, but the mobile view won't load. I did it twice. The second time I used an incognito window.
Likely an internal bug. Please contact AppSheet Support for help with this.
Attn @AleksiAlkio
Most of the time this community gives me the answers, not Appsheet support, but I will reach out to them.
Attn @devingu
I have contacted support but they have no idea. The agent is going to escalate this issue.
The first 2 times, I added the calendar using this "Plus" sign
The third time I added using this steps of this article: Use data from Google Calendar
The issue persisted. Usually, the issue shows up some minutes later.
I re authenticated the calendar. It's been 60 minutes since the re authentication and the app is still working. I'll wait until tomorrow to see if the problem is gone.
Hello. Everything seems to be fine.
I added the calendar using 2 ways:
The first one gave me the error and didn't work.
The second one works. In addition to following the steps in the article, I had to re-authenticate Appsheet with Google Calendar.
Thank you for your time @Trevwiller, @AleksiAlkio and @Steve.
Then it sounds the access token (or refresh token) was expired and because the Google Calendar is the secondary data source, logging out and in doesn't refresh the token. It only refresh the access token with your primary/default data source you used when you created your AppSheet account.
User | Count |
---|---|
15 | |
11 | |
11 | |
8 | |
3 |