# "Cannot authenticate with ..." due to id.getmailspring.com 401

**URL:** <https://community.getmailspring.com/t/cannot-authenticate-with-due-to-id-getmailspring-com-401/1751>\
**Category:** Service Issues\
**Created:** [May 12, 2021, 6:29pm UTC](https://community.getmailspring.com/t/cannot-authenticate-with-due-to-id-getmailspring-com-401/1751 "2021-05-12T18:29:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel](https://community.getmailspring.com/user_avatar/community.getmailspring.com/daniel/32/1243_2.png) [@Daniel](https://community.getmailspring.com/u/Daniel)\
**Post date:** [May 12, 2021, 6:29pm UTC](https://community.getmailspring.com/t/cannot-authenticate-with-due-to-id-getmailspring-com-401/1751/1 "2021-05-12T18:29:04Z")

</div>

## Description

Today I started getting a “Cannot authenticate with …” error:

 ![image](https://community.getmailspring.com/uploads/default/original/2X/2/279db6e19467bba4df8ade4fbe594e57494ee7a2.png)

However, it looks like the Mailspring server is the one returning an auth error, not my mail server. I’m not sure how to fix it as I don’t see a “re-authenticate with Mailspring ID” button anywhere in the UI.

```auto
28100 [2021-05-12 11:24:42.755] [main] [info] ------------- Starting Sync (d@d.sb) ---------------
28100 [2021-05-12 11:24:42.760] [background] [info] Marking all folders as `busy`
28100 [2021-05-12 11:24:42.760] [metadata] [info] Metadata delta stream starting...
28100 [2021-05-12 11:24:42.766] [background] [info] Syncing folder list...
28100 [2021-05-12 11:24:43.130] [metadata] [info] Metadata delta stream closed.
28100 [2021-05-12 11:24:43.431] [metadata] [critical] 
***
*** Mailspring Sync 
*** An exception occurred during program execution: 
*** {"debuginfo":"https://id.getmailspring.com/deltas/fbe53803/streaming?p=win32&ih=&cursor=87652173 RETURNED ","key":"Invalid Response Code: 401","retryable":false,"what":"Unknown exception"}
***

```

## To Reproduce…

Steps to reproduce the behavior:

Not really sure what caused it.

1. Add an account to Mailspring
2. ???
3. Get this error

## Expected Behavior

It syncs

## Screenshots

As above

## Setup

- OS and Version: Windows 10
  - Installation Method: Installer

- Mailspring Version: 1.9.1

---

<div class="post-metadata">

**Author:** ![CodeMouse92](https://community.getmailspring.com/user_avatar/community.getmailspring.com/codemouse92/32/2359_2.png) [@CodeMouse92](https://community.getmailspring.com/u/CodeMouse92)\
**Post date:** [May 12, 2021, 8:38pm UTC](https://community.getmailspring.com/t/cannot-authenticate-with-due-to-id-getmailspring-com-401/1751/2 "2021-05-12T20:38:41Z")

</div>

1. Unauthorized. Hmm, that’s odd. I’ll loop @bengotow in on this.

---

<div class="post-metadata">

**Author:** ![bengotow](https://community.getmailspring.com/user_avatar/community.getmailspring.com/bengotow/32/14_2.png) [@bengotow](https://community.getmailspring.com/u/bengotow)\
**Post date:** [May 13, 2021, 2:57pm UTC](https://community.getmailspring.com/t/cannot-authenticate-with-due-to-id-getmailspring-com-401/1751/3 "2021-05-13T14:57:00Z")

</div>

Hey @Daniel! That’s super interesting - any chance you deleted your Mailspring ID? If you go to the Preferences \> Subscription tab in Mailspring and sign out / sign back in to your Mailspring ID, that should fix it.

---

<div class="post-metadata">

**Author:** ![Daniel](https://community.getmailspring.com/user_avatar/community.getmailspring.com/daniel/32/1243_2.png) [@Daniel](https://community.getmailspring.com/u/Daniel)\
**Post date:** [May 13, 2021, 9:36pm UTC](https://community.getmailspring.com/t/cannot-authenticate-with-due-to-id-getmailspring-com-401/1751/4 "2021-05-13T21:36:40Z")

</div>

> [@bengotow](#):
>
> any chance you deleted your Mailspring ID?

Nope. The subscription tab still showed me as logged in, too

I logged out and back in, and that seems to have fixed it. Thanks for the pointer - I wouldn’t have thought to look there, since I don’t have a paid subscription yet.

---

<div class="post-metadata">

**Author:** ![Daniel](https://community.getmailspring.com/user_avatar/community.getmailspring.com/daniel/32/1243_2.png) [@Daniel](https://community.getmailspring.com/u/Daniel)\
**Post date:** [May 14, 2021, 5:24pm UTC](https://community.getmailspring.com/t/cannot-authenticate-with-due-to-id-getmailspring-com-401/1751/5 "2021-05-14T17:24:08Z")

</div>

I spoke too soon… I just got the error again today.

```auto
21984 [2021-05-14 10:22:46.814] [main] [info] Identity created at 1614599515 - using ID Schema 1
21984 [2021-05-14 10:22:46.816] [main] [info] ------------- Starting Sync (d@d.sb) ---------------
21984 [2021-05-14 10:22:46.819] [background] [info] Marking all folders as `busy`
21984 [2021-05-14 10:22:46.819] [metadata] [info] Metadata delta stream starting...
21984 [2021-05-14 10:22:46.826] [background] [info] Syncing folder list...
21984 [2021-05-14 10:22:47.209] [metadata] [info] Metadata delta stream closed.
21984 [2021-05-14 10:22:47.518] [metadata] [critical] 
***
*** Mailspring Sync 
*** An exception occurred during program execution: 
*** {"debuginfo":"https://id.getmailspring.com/deltas/fbe53803/streaming?p=win32&ih=&cursor=87747856 RETURNED ","key":"Invalid Response Code: 401","retryable":false,"what":"Unknown exception"}
***

15096 [2021-05-14 10:22:48.616] [main] [info] Identity created at 1614599515 - using ID Schema 1
15096 [2021-05-14 10:22:48.618] [main] [info] ------------- Starting Sync (d@d.sb) ---------------
15096 [2021-05-14 10:22:48.623] [metadata] [info] Metadata delta stream starting...
15096 [2021-05-14 10:22:48.623] [background] [info] Marking all folders as `busy`
15096 [2021-05-14 10:22:48.632] [background] [info] Syncing folder list...
15096 [2021-05-14 10:22:49.003] [metadata] [info] Metadata delta stream closed.
15096 [2021-05-14 10:22:49.368] [metadata] [critical] 
***
*** Mailspring Sync 
*** An exception occurred during program execution: 
*** {"debuginfo":"https://id.getmailspring.com/deltas/fbe53803/streaming?p=win32&ih=&cursor=87747856 RETURNED ","key":"Invalid Response Code: 401","retryable":false,"what":"Unknown exception"}
***

12364 [2021-05-14 10:22:50.501] [main] [info] Identity created at 1614599515 - using ID Schema 1
12364 [2021-05-14 10:22:50.503] [main] [info] ------------- Starting Sync (d@d.sb) ---------------
12364 [2021-05-14 10:22:50.509] [metadata] [info] Metadata delta stream starting...
12364 [2021-05-14 10:22:50.509] [background] [info] Marking all folders as `busy`
12364 [2021-05-14 10:22:50.515] [background] [info] Syncing folder list...
12364 [2021-05-14 10:22:50.889] [metadata] [info] Metadata delta stream closed.
12364 [2021-05-14 10:22:51.246] [metadata] [critical] 
***
*** Mailspring Sync 
*** An exception occurred during program execution: 
*** {"debuginfo":"https://id.getmailspring.com/deltas/fbe53803/streaming?p=win32&ih=&cursor=87747856 RETURNED ","key":"Invalid Response Code: 401","retryable":false,"what":"Unknown exception"}
***

```

---

<div class="post-metadata">

**Author:** ![NikosEfthias](https://community.getmailspring.com/user_avatar/community.getmailspring.com/nikosefthias/32/2844_2.png) [@NikosEfthias](https://community.getmailspring.com/u/NikosEfthias)\
**Post date:** [July 22, 2021, 10:48pm UTC](https://community.getmailspring.com/t/cannot-authenticate-with-due-to-id-getmailspring-com-401/1751/6 "2021-07-22T22:48:02Z")

</div>

I just started having this issue after my fresh install any updates ?
