TwentyT
Twenty2y ago
5 replies
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^}^\^"^}^"


response:
{"errors":[{"message":"QueryFailedError","extensions":{"code":"INTERNAL_SERVER_ERROR","response":"column messageChannel.contactAutoCreationPolicy does not exist"}}],"data":{"deleteConnectedAccount":null}}
Was this page helpful?