Google Calendar API Request Error

I have a table using the Google Calendar connection. It is used to send invitations when the user submits a form in AppSheet. It works great, but recently some users are having issues and AppSheet reports this:

โ€œExceptionโ€: โ€œThe service calendar has thrown an exception: Google.GoogleApiException: Google.Apis.Requests.RequestError\r\nBad Request [400]\r\nErrors [\r\n\tMessage[Bad Request] Location[ - ] Reason[badRequest] Domain[global]\r\n]\r\n\r\n at Google.Apis.Requests.ClientServiceRequest1.<ParseResponse>d__35.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at Google.Apis.Requests.ClientServiceRequest1.Execute()\r\n at Nirvana.Data.GCalDataProvider.GCalData.CalTable.UpdateRow(CalRow row)\r\n at Nirvana.Data.APIBasedProvider.ExternalApiData.AppendRows(Context context, Op op, PhysicalSchema physicalSchema, List1 colTypes, List1 keyPositions, Boolean writeFullTable, Boolean tryUpsert)\r\n at Nirvana.Data.APIBasedProvider.ExternalApiData.AppendRows(Context context, Op op, PhysicalSchema physicalSchema, List1 colTypes, List1 keyPositions, Boolean tryUpsert)\r\n at Nirvana.Data.DataLayer.AppendTableRows(Context context, Op op, Int32 ownerId, AppTable appTable, List1 colTypes, List1 keyPositions)\r\n at Nirvana.Internal.InternalAPI.AddTableRowInternal(Context context, Op op, Int32 userId, Int32 executeAs, ChangeEventWorkflowRuleEvaluator changeEventWorkflowRuleEvaluator)\r\n at Nirvana.Internal.InternalAPI.PerformOperation(IPerfCollector perfCollector, Context context, Op op, Int32 userId, String appTemplateVersion, Boolean& success, String& errorMessage, Exception& errorException, UpdateModeEnum requiredUpdateMode, RowOperation rowOperation)โ€,
โ€œReturnedFromCacheโ€: false,
โ€œPerformanceโ€: โ€œ{โ€œVersionโ€:1,โ€œTimeโ€:โ€œ00:00:01.7843633โ€,โ€œPerformanceTimingRootโ€:{โ€œMidโ€:100,โ€œTimerโ€:{โ€œTimeโ€:โ€œ00:00:01.7843633โ€,โ€œElapsedTimeโ€:โ€œ00:00:00โ€},โ€œChildrenโ€:[{โ€œMidโ€:108,โ€œTimerโ€:{โ€œTimeโ€:โ€œ00:00:01.7843581โ€,โ€œElapsedTimeโ€:โ€œ00:00:00โ€},โ€œChildrenโ€:[{โ€œMidโ€:466,โ€œTimerโ€:{โ€œTimeโ€:โ€œ00:00:00.3799401โ€,โ€œElapsedTimeโ€:โ€œ00:00:00โ€}},{โ€œMidโ€:101,โ€œTimerโ€:{โ€œTimeโ€:โ€œ00:00:01.4042432โ€,โ€œElapsedTimeโ€:โ€œ00:00:00โ€},โ€œChildrenโ€:[{โ€œMidโ€:21,โ€œTimerโ€:{โ€œTimeโ€:โ€œ00:00:01.4033815โ€,โ€œElapsedTimeโ€:โ€œ00:00:00โ€},โ€œChildrenโ€:[{โ€œMidโ€:25,โ€œTimerโ€:{โ€œTimeโ€:โ€œ00:00:00.0616307โ€,โ€œElapsedTimeโ€:โ€œ00:00:00โ€}}]}]}]}]},โ€œIsEmptyโ€:false}โ€,
โ€œResultโ€: โ€œFailureโ€

Someone can help me with this error, please?

Solved Solved
0 5 1,810
1 ACCEPTED SOLUTION

Iโ€™m just coming back here to let you know that removing the special characters from the table name solved the problem. I didnโ€™t understand why, but it worked.

View solution in original post

5 REPLIES 5

Does anyone have any solutions, tips or anything that might help?

Iโ€™m afraid I have no experience with the Google Calendar API, so I have nothing to offer.

Itโ€™s the native connection with AppSheet, but I understand that obviously the API is used to make this connection possible. I noticed that the calendar table in AppSheet was named with special characters, I renamed it to see if thatโ€™s what caused the problem. I will inform here in case it works!

Iโ€™m just coming back here to let you know that removing the special characters from the table name solved the problem. I didnโ€™t understand why, but it worked.

Table name means file name that we want to upload in drive?

Top Labels in this Space