Sync hangs at 4%

Dear Zetetic,
I’m using an iMac with Big Sur. I upgraded Codebook to 4.4.1 and now when I try to sync using Google Drive, it hangs at 4% on “Checking Directory.” My other device is a Galaxy S10 running Android version 11 that also has 4.4.1 of Codebook and syncs to Google drive just fine. Help!
Thanks,
Shari

Hey @shari_Michels

Thanks for your support of Codebook and for reaching out. I’d like to have you try unlinking and re-linking your Google Drive with Codebook for macOS to see if that helps at all.

Here are the steps:

  1. Login to Codebook for macOS and go to Codebook menu > Preferences > Sync Tab, there should be your Google Drive email address at the bottom of that window with an unlink button. Click the unlink button, then close the preferences window.
  2. Go to Sync menu > Start Sync, you should be redirected to a web browser to authenticate with Google Drive and “Allow” Codebook access. Complete that and the sync should begin.

Let me know if this allows you to sync with Google Drive again on your Mac. Thanks!

Dear MMoore,

It worked!

Thanks,
Shari

Shari,

Excellent. Glad I could help.

Please feel free to reach out again if you have any further questions, issues, or feedback.

In addition to posting here on the discussion forum, you can also write us at support@zetetic.net

I have the same problem and I followed the procedure above but when I clicked Start Sync I just get an error window and now I don’t even get that. Any advice on how to relink it to Google Mail?

@rjwise

Thanks for using Codebook and posting to the discussion forum, although I’m sorry to hear about the trouble with Google Drive sync.

From the description, it sounds like you could be using an outdated version of Codebook for macOS. Would you mind checking what version of Codebook for macOS you’re currently running? That can be found at Codebook menu > About Codebook.

The latest version of Codebook for macOS is 4.5.19 which includes a Google Drive permission change: Codebook for macOS 4.5.19 Released - Google Drive Permission Change

If you’re using anything less than that, would you please update to the latest (either in the link in the update post if you’re using the direct version, or via the Mac App Store if you’re using the App Store version).

If you are already using the latest version, could you let me know what the error message says when you attempt to start the sync? Thanks!

Edit – ignore the below. I updated on App Store and managed to reconnect to Google Drive. Thanks for the replay earlier.

I’m running 4.5.12. I think I originally bought direct but may have bought from Mac App Store when I bought a new computer. When I click on Codebook in the menu there is no ‘Check for updates’ so I’m not sure how I update it.
In the about Codebook it does mention Mac App Store so I’ll try updating through that.

For info – when I click on Start sync. I first get a window that says “Codebook” Wants to Use “google.com” to Sign In [Cancel] [Continue]. When I click on [Continue] a window pops up that says

Sign in with Google
Access blocked:Authorization Error
The OAuth client was deleted.
If you are a developer of this app, see error details.
Error 401: deleted_client

@rjwise

Thanks for the response with further details.

Your description does confirm what I was assuming – you’re using an out of date version of Codebook which we’ve now deleted the Google Drive API credentials for (in favor of the new ones with the more restrictive permissions).

Because the “Check for Updates” menu doesn’t appear, it does sound like you are using a Mac App Store version of Codebook. To update it, you should be able to visit the Mac App Store on your device, select your account name in the lower left hand corner which will show your purchased apps, locate Codebook and tap the “Update” button.

I was also able to locate a purchase of the direct version of Codebook under your email address. I’ve just resent your order fulfillment email which contains your license key along with a link to download the latest direct installer. If you’d prefer to use the direct version, you can use that link to download the disk image and install it.

Please let me know if updating to the latest version allows you to link with Google Drive and sync again. Thanks!

Glad to hear you’re all set after updating to the latest version.