google calendar api company member

50 views
Skip to first unread message

이민주

unread,
Nov 29, 2022, 3:34:48 AM11/29/22
to Google Calendar API
I am using Google calendar api
We are about to delete calendar events for a company group.
An error appears as shown below.

example)

 Chilkat.StringBuilder sbResponse = new Chilkat.StringBuilder();
      success = rest.FullRequestNoBodySb("DELETE", "/calendar/v3/calendars/fly...@sampyo.co.kr/events/" + id + "", sbResponse);
                    if (success != true)
                    {
                        Debug.WriteLine(rest.LastErrorText);
                        return;
                    }

                    if (rest.ResponseStatusCode != 204)
                    {
                        Debug.WriteLine("Received error response code: " + Convert.ToString(rest.ResponseStatusCode));
                        Debug.WriteLine("Response body:");
                        Debug.WriteLine(sbResponse.GetAsString());
                        return;

                    }

error)

{  "error": {   "errors": [    {     "domain": "global",     "reason": "forbidden",     "message": "Forbidden"    }   ],   "code": 403,   "message": "Forbidden"  } }

Can you please help me find why the Forbidden errors pop up?

Thank you..








Reply all
Reply to author
Forward
0 new messages