31,003
edits
No edit summary |
|||
| Line 94: | Line 94: | ||
* Contacts/addresses of thirdparties (if module Thirdparty is enabed) | * Contacts/addresses of thirdparties (if module Thirdparty is enabed) | ||
* Members (if module foundation members is enabled) | * Members (if module foundation members is enabled) | ||
Then enter your Google | |||
Then, you must setup and enter the API keys provided by Google. This is dones in several step. | |||
1) Find the Google Agenda ID or your calendar. | |||
Go into your Google Calendar, then "Parameters" in the wheels, then tab "Agenda", or try this link <a href="https://www.google.com/calendar/render#i">https://www.google.com/calendar/render#i</a> and then click on name or your Agenda. You Agenda ID is an ID that looks like an email. | |||
Buttons to make synchronization tests should be available. Click on them to make tests. | Buttons to make synchronization tests should be available. Click on them to make tests. | ||
[[File:Warning.png]] Note: A possible error is that Google denies access, even if login and password are correct, but just because the server that host Dolibarr is located into another country than country uou are using google apps usually. | '''TroubleShooting''' | ||
* If you receive error "ERROR Error calling POST https://www.googleapis.com/calendar/v3/calendars/yourcalendarid/events: (404) Not Found". | |||
Check the step 3 was done. | |||
* [[File:Warning.png]] Note: A possible error is that Google denies access, even if login and password are correct, but just because the server that host Dolibarr is located into another country than country uou are using google apps usually. | |||
To check Google has locked your access for this reason, go onto page https://security.google.com/settings/security/activity?hl=fr after failure. | To check Google has locked your access for this reason, go onto page https://security.google.com/settings/security/activity?hl=fr after failure. | ||
If it appears Google has blocked access attempts from an unusual location, accept this attempt. Then, you must wait 24 hours to try again. | If it appears Google has blocked access attempts from an unusual location, accept this attempt. Then, you must wait 24 hours to try again. | ||
[[File: Warning.png]] Note: Another possible error is that Google denies access even if your login and password are correct, because you turn on Google option 2-step validation. To check if you have actually enabled this option, go to the page: https://security.google.com/settings/security?pli=1 | * [[File: Warning.png]] Note: Another possible error is that Google denies access even if your login and password are correct, because you turn on Google option 2-step validation. To check if you have actually enabled this option, go to the page: https://security.google.com/settings/security?pli=1 | ||
If in the "Validation in two stages," you have "On", the problem is found. You do not have to disable it. You can solve the problem as follows: | If in the "Validation in two stages," you have "On", the problem is found. You do not have to disable it. You can solve the problem as follows: | ||