paulyili
Emails not updating after sync v0.43.4
@Guillaume
Exception Captured
undefined
[
Error: Email is required
at getDomainNameByEmail (/app/packages/twenty-server/dist/src/utils/get-domain-name-by-email.js:13:15)
at /app/packages/twenty-server/dist/src/modules/messaging/message-import-manager/utils/filter-emails.util.js:46:133
at Array.every (<anonymous>)
at /app/packages/twenty-server/dist/src/modules/messaging/message-import-manager/utils/filter-emails.util.js:46:65
at Array.filter (<anonymous>)
at filterOutInternals (/app/packages/twenty-server/dist/src/modules/messaging/message-import-manager/utils/filter-emails.util.js:41:21)
at filterEmails (/app/packages/twenty-server/dist/src/modules/messaging/message-import-manager/utils/filter-emails.util.js:20:16)
at MessagingMessagesImportService.processMessageBatchImport (/app/packages/twenty-server/dist/src/modules/messaging/message-import-manager/services/messaging-messages-import.service.js:99:71)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async MessagingMessagesImportJob.handle (/app/packages/twenty-server/dist/src/modules/messaging/message-import-manager/jobs/messaging-messages-import.job.js:63:9)
]
15 replies
Emails not updating after sync v0.43.4
this is the most obvious error i can see. it has happened each time i've spun up a new twenty stack
[Nest] 34 - 03/05/2025, 10:00:00 AM LOG [MessagingOngoingStaleJob] Sync for message channel 720ff3dd-eacb-4210-9021-f2459b3c5094 and workspace 9eac4824-4a4c-49ff-ac38-fdbe10512dd7 is stale. Setting sync stage to MESSAGES_IMPORT_PENDING
[Nest] 34 - 03/05/2025, 10:00:00 AM LOG [MessagingMessagesImportService] Messaging import for workspace 9eac4824-4a4c-49ff-ac38-fdbe10512dd7 and account a23fdc4b-ca69-4c72-b9bb-61845ab4abd0 starting...
[Nest] 34 - 03/05/2025, 10:00:06 AM LOG [GmailGetMessagesService] Messaging import for workspace 9eac4824-4a4c-49ff-ac38-fdbe10512dd7 and account a23fdc4b-ca69-4c72-b9bb-61845ab4abd0 fetching 200 messages in 5580ms
[Nest] 34 - 03/05/2025, 10:00:06 AM LOG [GmailGetMessagesService] Messaging import for workspace 9eac4824-4a4c-49ff-ac38-fdbe10512dd7 and account a23fdc4b-ca69-4c72-b9bb-61845ab4abd0 formatting 200 messages in 91ms
15 replies
Emails not updating after sync v0.43.4
@Guillaume
This is my .env (which is properly filled out)
I have twenty running behind it's own nginx (not sure if that's an issue, but it never was before)
TAG=v0.43.4
APP_SECRET=
SIGN_IN_PREFILLED=false
PG_DATABASE_USER=postgres
PG_DATABASE_PASSWORD=
PG_DATABASE_HOST=db
PG_DATABASE_PORT=5432
REDIS_URL=redis://redis:6379
SERVER_URL=https://crm.mydomain.com.au
MESSAGE_QUEUE_TYPE=bull-mq
STORAGE_TYPE=s3
STORAGE_S3_REGION=ap-southeast-2
STORAGE_S3_NAME=twenty-crm
STORAGE_S3_ENDPOINT=https://minioapi.mydomain.au/
STORAGE_S3_ACCESS_KEY_ID=
STORAGE_S3_SECRET_ACCESS_KEY=
-- Auth --
MESSAGING_PROVIDER_GMAIL_ENABLED=true
CALENDAR_PROVIDER_GOOGLE_ENABLED=true
AUTH_GOOGLE_APIS_CALLBACK_URL=https://mydomain/auth/google-apis/get-access-token
AUTH_PASSWORD_ENABLED=false
AUTH_GOOGLE_ENABLED=true
AUTH_GOOGLE_CLIENT_ID=-.apps.googleusercontent.com
AUTH_GOOGLE_CLIENT_SECRET=
AUTH_GOOGLE_CALLBACK_URL=https://mydomain/auth/google/redirect
-- Email --
EMAIL_FROM_ADDRESS=
EMAIL_FROM_NAME=Admin
EMAIL_SYSTEM_ADDRESS=
EMAIL_DRIVER=smtp
EMAIL_SMTP_HOST=smtp.gmail.com
EMAIL_SMTP_PORT=465
EMAIL_SMTP_USER=
EMAIL_SMTP_PASSWORD=
-- Security --
API_RATE_LIMITING_TTL=500
API_RATE_LIMITING_LIMIT=10000
API_TOKEN_EXPIRES_IN=1000y
15 replies
apostrophe around persons name
Yep, it's just some of the contacts.
All of the company names are good. I'll have a look at more of the emails tomorrow to check. Otherwise I'm more than happy if you want to investigate.
It is Gmail of course.
16 replies