403 forbidden trying to add events

2,047 views
Skip to first unread message

Michał Bażyński

unread,
Jul 1, 2013, 10:58:05 AM7/1/13
to google-ca...@googlegroups.com

I am trying to add event from the api browser at https://developers.google.com/google-apps/calendar/v3/reference/events/insert ,

and I am getting:

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


which also stopped working in my app lately. for a sister domian with all settings looking the same the call works. (google api enabled, administrator account, oauth2, correct scope applied [which it automatically is in api browser linked above). does anybody have any ideas what else can be misconfigured for the api to return 403?

Howard Smith

unread,
Jul 14, 2013, 1:11:05 AM7/14/13
to google-ca...@googlegroups.com


On Monday, July 1, 2013 10:58:05 AM UTC-4, Michał Bażyński wrote:

which also stopped working in my app lately. for a sister domian with all settings looking the same the call works. (google api enabled, administrator account, oauth2, correct scope applied [which it automatically is in api browser linked above). does anybody have any ideas what else can be misconfigured for the api to return 403?


works on sister domain, maybe because you provided an API key for IP addresses or domain hostname, right?

stopped working in 'your' app, because you may need the grant access via API key to new/more IP addresses or hostname/domains. right?
 

rik...@ninety10.co.za

unread,
May 31, 2018, 8:12:18 AM5/31/18
to Google Calendar API
Have you figured out this problem, as I keep getting the same error.

suraj sah

unread,
Feb 13, 2019, 2:12:12 PM2/13/19
to Google Calendar API
I am trying to add google event in php but getting this error 

[0] => Array ( [domain] => global [reason] => insufficientPermissions [message] => Insufficient Permission: Request had insufficient authentication scopes. )
Reply all
Reply to author
Forward
0 new messages