Changes

Jump to navigation Jump to search
m
Line 107: Line 107:       −
3) You must create a service account user/email from page {{ModuleGoogleUrlToCreateApiAccount}}, menu "Credentials" . Click on "Create a client ID" and choose "Service Account" then choose "type of file P12" then "Create". You must check that the option "Enable G-Suite Domain wide validation" in section "Show domain wide validation" is set to on for this new service account.
+
3) You must create a service account user/email from page {{ModuleGoogleUrlToCreateApiAccount}}, menu "Credentials" . Click on "Create a client ID" and choose "Service Account" then choose "type of file P12" then "Create". You must check that the option "Enable G-Suite Domain wide validation" in section "Show domain wide validation" is set to On for this new service account.
 
You will get:
 
You will get:
   Line 136: Line 136:  
*If you receive error "ERROR Error calling POST https://www.googleapis.com/calendar/v3/calendars/yourcalendarid/events: (403) Forbidden": Check the step 5 was done and that permission granted was read and write and not read only.
 
*If you receive error "ERROR Error calling POST https://www.googleapis.com/calendar/v3/calendars/yourcalendarid/events: (403) Forbidden": Check the step 5 was done and that permission granted was read and write and not read only.
   −
*If you receive error "ERROR Error calling POST https://www.googleapis.com/calendar/v3/calendars/yourcalendarid/events: (403) Service accounts cannot invite attendees without Domain-Wide Delegation of Authority": Check the step 5 was done and that you allow external acounts (so your service account) to edit calendar.
+
*If you receive error "ERROR Error calling POST https://www.googleapis.com/calendar/v3/calendars/yourcalendarid/events: (403) Service accounts cannot invite attendees without Domain-Wide Delegation of Authority": Check the step 3 is done (test on G-Suite domain wide validation) and the step 5 is also done to allow external acounts (so your service account) to edit calendar.
    
*[[File:Warning.png]] Note: A possible error is that Google denies access, even if your setup is correct, just because the server that host Dolibarr is located into another country or region than the one using google apps usually.
 
*[[File:Warning.png]] Note: A possible error is that Google denies access, even if your setup is correct, just because the server that host Dolibarr is located into another country or region than the one using google apps usually.

Navigation menu