T
Twenty2w ago
isy

Difficulty adding my calendar/email

I don't want to add my specific calendar/ email but we have sales reps on our team who do and they are not able to do that right now. I've included screenshots from my account of what they're also seeing. What is missing from our account and are you able to help? Thank you so much,
No description
16 Replies
Prastoin
Prastoin2w ago
Hello @isy are you self hosting our on cloud prod ?
isy
isyOP2w ago
I believe so. Why does that change things? @Prastoin
ɃØĦɆᵾS
ɃØĦɆᵾS2w ago
If you're on cloud, support team can directly help you, if not, then they can ask for more details and give directions to help you solve the problem
Prastoin
Prastoin2w ago
If you're self hosting you might be self hosting on old twenty version
isy
isyOP2w ago
Just confirmed with our eng team that we're self hosting. Trying to get them looped into this conversation Also apparently we're using your official Github dockerfile. Is that the correct version?
ɃØĦɆᵾS
ɃØĦɆᵾS2w ago
Yes but more importantly, which version do you see in Settings > Admin panel?
isy
isyOP2w ago
Is this what you need?
No description
No description
ɃØĦɆᵾS
ɃØĦɆᵾS2w ago
No, directly in Twenty
isy
isyOP2w ago
I don't see Admin...
No description
ɃØĦɆᵾS
ɃØĦɆᵾS2w ago
Ask your eng team to send screenshot from that panel
Prastoin
Prastoin2w ago
Hey there consuming the latest mirror is not ideal as twenty needs to be upgraded incrementally for the moment Has your tech team configured their google twenty google integration ?
slymilano
slymilano2w ago
hello, I'm the engineering who selfhosted Twenty. I'm using the latest Dockerfile. Twenty admin panel says:
Current version
v1.11.0
Latest version
v1.11.5
Current version
v1.11.0
Latest version
v1.11.5
I think I narrowed down the sync bug with Google to this line in the Worker. For some reason the client_id is proper, but the client_secret is all garbled up.
onfig: {
        method: 'POST',
        url: 'https://oauth2.googleapis.com/token',
        data: "refresh_token=1%2F%2F06TfcLuWUMESnCgYIARAAGAYSNwF-L9IrZ8s73wPZq-nDMzrp7ZbImAF22g_mjBu1dvZ3qqzbwwEEafmSobxQgV3Fupo44LsZMXM&client_id=598676529097-mi6e0shtsb7jl5pgcu9pvqgl9vlnuk13.apps.googleusercontent.com&client_secret=~%EF%BF%BD%24%EF%BF%BDi%EF%BF%BD%EF%BF%BD%110%25%EF%BF%BD%EF%BF%BDS%EF%BF%BD%7FD%16%C6%84%EF%BF%BDV%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD*8m%24%EF%BF%BD%1B6%0D'%EF%BF%BD&grant_type=refresh_token",
onfig: {
        method: 'POST',
        url: 'https://oauth2.googleapis.com/token',
        data: "refresh_token=1%2F%2F06TfcLuWUMESnCgYIARAAGAYSNwF-L9IrZ8s73wPZq-nDMzrp7ZbImAF22g_mjBu1dvZ3qqzbwwEEafmSobxQgV3Fupo44LsZMXM&client_id=598676529097-mi6e0shtsb7jl5pgcu9pvqgl9vlnuk13.apps.googleusercontent.com&client_secret=~%EF%BF%BD%24%EF%BF%BDi%EF%BF%BD%EF%BF%BD%110%25%EF%BF%BD%EF%BF%BDS%EF%BF%BD%7FD%16%C6%84%EF%BF%BDV%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD*8m%24%EF%BF%BD%1B6%0D'%EF%BF%BD&grant_type=refresh_token",
This causes the server to return a code: '401' error and the Google sync to fail Appreciate any help @bob thank you! thanks @Prastoin for any tips here
isy
isyOP2w ago
FYI @slymilano I had our sales reps connect to Google calendar and email and none of their emails synced
slymilano
slymilano5d ago
Yes we need to figure out this client_secret / 401 error for the sync to function. Good morning gents! Appreciate any tips you may have here.
slymilano
slymilano5d ago
I opened a Github issue if it helps track the bug better. https://github.com/twentyhq/twenty/issues/15974
GitHub
Self-hosted Google sync does not work - 401 Unauthorized. Client_se...
Bug Description I set all the necessary variables on my self-hosted Twenty, and can go through the oauth flow correctly. But the sync fails. The worker service logs show the error clearly. refresh_...

Did you find this page helpful?