Issue with Google Integration in Twenty CRM - Google Sync Failed #10270
Replies: 8 comments 4 replies
-
|
UPDATE I added this code to the docker-compose.yml file: Configurazione Google OAuthand got this (see attachment), did I configured it right? |
Beta Was this translation helpful? Give feedback.
-
|
Have a similar issue, everything is configured like above but i get an „sync failed“ text on my account but no error logs. |
Beta Was this translation helpful? Give feedback.
-
|
I do have similar issue with a self hosted docker deployment on my ubuntu VPS. ive set the google related env vars from the admin panel as per the documentation page. please provide fix, documentation or bounty for this problem |
Beta Was this translation helpful? Give feedback.
-
|
Hi all, I have the same issue as the others in this thread are having. Would be great if there was a solution for this issue. |
Beta Was this translation helpful? Give feedback.
-
|
We upgraded to version 0.55.6, but the issue persists. We had to manually adjust the settings to get it to work, yet we still frequently experience timeouts. |
Beta Was this translation helpful? Give feedback.
-
|
I fixed my error by running the migration commands aswell as rerunning the cron commands |
Beta Was this translation helpful? Give feedback.
-
|
Hey, Had the same issue - the worker service needs identical environment variables as the main service (except for command). Here's the fix: version: '3.8'
services:
twenty:
image: 'twentycrm/twenty:${TAG:-latest}'
environment:
- SERVER_URL=$SERVICE_FQDN_TWENTY
- FRONT_BASE_URL=$SERVICE_FQDN_TWENTY
# ... (other vars) ...
worker:
image: 'twentycrm/twenty:${TAG:-latest}'
# --- Ensure ALL environment vars match `twenty` ---
environment:
- SERVER_URL=$SERVICE_FQDN_TWENTY # Must match
- FRONT_BASE_URL=$SERVICE_FQDN_TWENTY # Must match
# ... (include ALL other vars from `twenty`) ...
command: 'yarn worker:prod'
depends_on:
twenty:
condition: service_healthy
# ... (db, redis, volumes config) ...Key Notes:
|
Beta Was this translation helpful? Give feedback.
-
|
I'm on v0.52.6, and getting the same "Sync failed". Here's what I did.
In worker logs, I get this SQL error which seems promising, atleast not flying blind: TODO:
|
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I’m trying to integrate Google Calendar and Google Gmail with Twenty CRM following the official self-hosting guide: Setup Messaging & Calendar Sync. I’ve completed the following steps:
-Created a project in Google Cloud Console.
-Enabled the required APIs (Google Calendar API, Gmail API, and Google People API).
-Created OAuth credentials and obtained the Client ID and Client Secret.
-Configured the required scopes in Google Cloud Console:
+https://www.googleapis.com/auth/calendar.events
+https://www.googleapis.com/auth/gmail.readonly
+https://www.googleapis.com/auth/userinfo.email
Problem 1: Where to add the Scopes?
The guide is unclear on whether the scopes should be added to the .env file in the project or if they should just be configured in Google Cloud Console. I’ve added them in Google Cloud Console, but I’m unsure if I need to modify anything in the Twenty CRM configuration files as well.
Problem 2: "Connect to Google" Button not Appearing
Even though everything seems configured correctly, I can’t see the "Connect to Google" button in the Twenty CRM settings. Is there something I need to do to make it visible?
What I’ve tried so far:
Restarted the Docker container for Twenty CRM.
Checked the logs, and there don’t seem to be any obvious errors.
Double-checked all configurations in Google Cloud Console and Twenty CRM, but the button still doesn’t appear.
Details:
Twenty CRM version: v0.42.5
Docker version: latest
Operating system of the server: Ubuntu 24.04
Anyone with experience integrating Google into Twenty CRM, your help would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions