T
Twenty2mo ago
aficio

problems with gmail fetch, removing/adding account

I was finally able to deploy my portainer twenty. fantastic work guys and thank you very much for putting this together i look forward to using this for a long time! i'm having a bit of a problem with the gmail sync... the account connected successfully, the worker showed to be syncing messages, but on the front end i don't see the email tab and i don't see any contacts. i tried to delete the connected account and re-connect it, but upon clicking 'remove account' i get: request (copied as curl)
curl "https://twenty.mydomain.com/graphql" ^
-H "accept: */*" ^
-H "accept-language: en-US,en;q=0.9,es-MX;q=0.8,es;q=0.7" ^
-H "authorization: Bearer xxxxxxxxxxxx" ^
-H "cache-control: no-cache" ^
-H "content-type: application/json" ^
-H ^"cookie: xxxxxxxxxxxxxxxxx" ^
-H "origin: https://twenty.mydomain.com/" ^
-H "pragma: no-cache" ^
-H "priority: u=1, i" ^
-H "referer: https://twenty.mydomain.com//settings/accounts" ^
-H ^"sec-ch-ua: ^\^"Not/A)Brand^\^";v=^\^"8^\^", ^\^"Chromium^\^";v=^\^"126^\^", ^\^"Google Chrome^\^";v=^\^"126^\^"^" ^
-H "sec-ch-ua-mobile: ?0" ^
-H ^"sec-ch-ua-platform: ^\^"Windows^\^"^" ^
-H "sec-fetch-dest: empty" ^
-H "sec-fetch-mode: cors" ^
-H "sec-fetch-site: same-origin" ^
-H "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" ^
-H "x-schema-version: 1" ^
--data-raw ^"^{^\^"operationName^\^":^\^"DeleteOneConnectedAccount^\^",^\^"variables^\^":^{^\^"idToDelete^\^":^\^"579268cd-6d6b-492c-b67f-xxxxxxxxx^\^"^},^\^"query^\^":^\^"mutation DeleteOneConnectedAccount(^$idToDelete: ID^!) ^{^\^\n deleteConnectedAccount(id: ^$idToDelete) ^{^\^\n id^\^\n __typename^\^\n ^}^\^\n^}^\^"^}^"
curl "https://twenty.mydomain.com/graphql" ^
-H "accept: */*" ^
-H "accept-language: en-US,en;q=0.9,es-MX;q=0.8,es;q=0.7" ^
-H "authorization: Bearer xxxxxxxxxxxx" ^
-H "cache-control: no-cache" ^
-H "content-type: application/json" ^
-H ^"cookie: xxxxxxxxxxxxxxxxx" ^
-H "origin: https://twenty.mydomain.com/" ^
-H "pragma: no-cache" ^
-H "priority: u=1, i" ^
-H "referer: https://twenty.mydomain.com//settings/accounts" ^
-H ^"sec-ch-ua: ^\^"Not/A)Brand^\^";v=^\^"8^\^", ^\^"Chromium^\^";v=^\^"126^\^", ^\^"Google Chrome^\^";v=^\^"126^\^"^" ^
-H "sec-ch-ua-mobile: ?0" ^
-H ^"sec-ch-ua-platform: ^\^"Windows^\^"^" ^
-H "sec-fetch-dest: empty" ^
-H "sec-fetch-mode: cors" ^
-H "sec-fetch-site: same-origin" ^
-H "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" ^
-H "x-schema-version: 1" ^
--data-raw ^"^{^\^"operationName^\^":^\^"DeleteOneConnectedAccount^\^",^\^"variables^\^":^{^\^"idToDelete^\^":^\^"579268cd-6d6b-492c-b67f-xxxxxxxxx^\^"^},^\^"query^\^":^\^"mutation DeleteOneConnectedAccount(^$idToDelete: ID^!) ^{^\^\n deleteConnectedAccount(id: ^$idToDelete) ^{^\^\n id^\^\n __typename^\^\n ^}^\^\n^}^\^"^}^"
response:
{"errors":[{"message":"QueryFailedError","extensions":{"code":"INTERNAL_SERVER_ERROR","response":"column messageChannel.contactAutoCreationPolicy does not exist"}}],"data":{"deleteConnectedAccount":null}}
{"errors":[{"message":"QueryFailedError","extensions":{"code":"INTERNAL_SERVER_ERROR","response":"column messageChannel.contactAutoCreationPolicy does not exist"}}],"data":{"deleteConnectedAccount":null}}
2 Replies
aficio
aficio2mo ago
i submitted a github issue for this: https://github.com/twentyhq/twenty/issues/6189
GitHub
deleting a connected gmail account fails · Issue #6189 · twentyhq/t...
I was finally able to deploy my portainer twenty. fantastic work guys and thank you very much for putting this together i look forward to using this for a long time! Bug Description i'm having ...
charles
charles2mo ago
Hi @aficio, sorry for the late reply! you have probably upgraded twenty and your workspace schema is not up-to-date please run: yarn command:prod workspace:sync-metadata -w {workspaceId} -f It will upgrade your workspace schema you can also run yarn database:migrate:prod to upgrade core and metadata schemas
Want results from more Discord servers?
Add your server