JSON exception "type must be string, but is null"

Hi,

Mailspring started throwing an error on one of my several attached accounts yesterday. I cannot seem to resolve it in any standard fashion:

  1. I’m up to date on my Mailspring version (Mac 1.13.3-9a7e1a78)
  2. I tried several times to Reconnect.
  3. I deleted the account within Mailspring and tried a fresh reconnect.

None of it worked, and this is my primary email account.

Can anyone help?

Here’s the error log that it threw: (the key error seems to be JSON exception with “type must be string, but is null”):

Mailspring Version: 1.13.3-9a7e1a78
Platform: darwin
Account State: sync_error
Account Provider: gmail
IMAP Server: imap.gmail.com
SMTP Server: smtp.gmail.com

*** in mailsync runForegroundSyncWorker()
*** in mailsync shared_ptr make_shared(shared_ptr&)
*** in mailsync runBackgroundSyncWorker()::$_1::operator()() const
*** in mailsync __libcpp_tls_set(unsigned long, void*)
*** in mailsync void* __thread_proxy(void*)
*** 0x189c0ce3c thread_start()


4639 [2024-05-03 10:50:26.807] [main] [info] Identity created at 1623500995 - using ID Schema 1
4639 [2024-05-03 10:50:26.809] [main] [info] ------------- Starting Sync (bill@wjkelly.biz) ---------------
4639 [2024-05-03 10:50:26.812] [metadata] [info] Metadata delta stream starting…
4639 [2024-05-03 10:50:27.844] [background] [info] Fetching XOAuth2 access token (gmail) for 1c4fadc0
4639 [2024-05-03 10:50:29.336] [background] [info] Marking all folders as busy
4639 [2024-05-03 10:50:29.338] [background] [info] Syncing folder list…
4639 [2024-05-03 10:50:33.706] [background] [info] Syncing folder list…
4639 [2024-05-03 10:50:34.390] [background] [info] syncFolderUIDRange for [Gmail]/All Mail, UIDs: 189606 - 189611, Heavy: true
4639 [2024-05-03 10:50:35.556] [background] [info] - [Gmail]/All Mail: remote=5, local=5, remoteUID=UXu2cB29b9ihQoVE1R1pspRb1Cd958sPi9xnwPmE9
4639 [2024-05-03 10:50:35.560] [background] [warning] Ignoring changes to Mailspring SMTP Test Email, local data is newer 1714704634 < 1714790993
4639 [2024-05-03 10:50:36.176] [background] [info] syncFolderUIDRange for [Gmail]/All Mail, UIDs: 189159 - 189611, Heavy: false
4639 [2024-05-03 10:50:36.818] [background] [info] - [Gmail]/All Mail: remote=405, local=405, remoteUID=UXu2cB29b9ihQoVE1R1pspRb1Cd958sPi9xnwPmE9
4639 [2024-05-03 10:50:36.820] [background] [info] - Fetching full headers for 3 (of 3 needed)
4639 [2024-05-03 10:50:37.467] [background] [warning] Ignoring changes to Mailspring SMTP Test Email, local data is newer 1714704636 < 1714790993
4639 [2024-05-03 10:50:37.469] [background] [warning] Ignoring changes to Security alert, local data is newer 1714704636 < 1714787986
4639 [2024-05-03 10:50:37.470] [background] [warning] Ignoring changes to HB 3610 Task Force Meeting (Session 6) - May 2, 2024 (AUDIO/VIDEO), local data is newer 1714704636 < 1714787983
4639 [2024-05-03 10:50:37.585] [foreground] [info] [local-0b60f8b6-695a] Running EventRSVPTask performRemote:
4639 [2024-05-03 10:50:37.585] [foreground] [critical]


*** Mailspring Sync
*** A JSON exception occurred during program execution:
*** [json.exception.type_error.302] type must be string, but is null


4639 [2024-05-03 10:50:37.661] [foreground] [critical] *** Stack trace (line numbers are approximate):
*** in mailsync exceptions::logCurrentExceptionWithStackTrace()
*** in mailsync runForegroundSyncWorker()
*** in mailsync shared_ptr make_shared(shared_ptr&)
*** in mailsync runBackgroundSyncWorker()::$_1::operator()() const
*** in mailsync __libcpp_tls_set(unsigned long, void*)
*** in mailsync void* __thread_proxy(void*)
*** 0x189c0ce3c thread_start()