Microsoft integration with Email visibilty fails
Hi there, we are running a twenty docker setup on version 0.41.15 and are stumbling across this error:
Found out that the enum default a problem is. Our default value is in lowercase instead of the uppercase default value.
This only happens when i try to select visibilty setting of the email settings.

9 Replies
Hi, did you upgrade recently?
Change has been introduced by this PR https://github.com/twentyhq/twenty/commit/9f6a6c3282c158cbfecf1f63df97c2bbdb715bf8#diff-b1d2512c27121060b86904b681d2b5bafe3a63ca8895be5cbd0e6110dbc549ac
GitHub
5622 add a syncemail onboarding step (#5689) · twentyhq/twenty@9f6a...
- add sync email onboarding step
- refactor calendar and email visibility enums
- add a new table
keyValuePair
in core
schema
- add a new resolved boolean field skipSyncEmail
in current us...that was 9 month ago. You must have old metadata remaining from an upgrade
Hey, yes we upgraded from 0.35 to 0.40 recently and now i wanted to upgrade from 0.40 to 0.41. We are using Twenty since june of 2024 so we could have some old metadata, is there any way to fix this or do we have to start over?
There were probably a command that migrates that enum. Either you look for it either you update manually the enum default value in you DB. Since this is your only issue, not sure it worth starting over. But before you do it, you should still export your data
Alright, i tried to look for a command but havent found anything :(. Also tried changing the enum values to uppercase but than i get:

Hi @Caspersonn , do you still have issues with this enum?
Yes, this issue is still going on. We have since then upgraded to v0.50.3, but i encountered more and more issues.
I opened a new issue with a missing admin-panel https://discord.com/channels/1130383047699738754/1356883338220277780.