This thread here had the same issue and it seems the issue here fixed mine as well. Joplin Cloud Sync Error on new linux install