-
Notifications
You must be signed in to change notification settings - Fork 63
[IMAP] - Auth token missing for this account #107
Comments
I wonder if it expects there to be a token because there is a Gmail account. Perhaps related to allowing the google account without Oauth: 18545f3 |
Hi, @dweremeichik. With GApps (through simple IMAP exactly as the other) it is working fine. The problem is with other account (work account). Also there is a red square saying that "Cannot Authenticate Nylas Mail Cloud Services with xxx@xxx.com" which is strange since it IS updating the inbox of the problematic account with new messages... And all contact with the non-local "Nylas Cloud" (i.e. n1.nylas.com) is blocked through firewall, so if it was the problem, the GApps account would not be working as well and the message would say the same thing for the GApps as well. |
@diegomachadosoares did you get a password management error when you first logged in? I think it might be related to #51 as well. |
No, @simonft! I thought that too... the curious thing is: I added another account from the same domain/provider and it works fine... But there are other strange things happening as well... On the GApps account new messages appear for a moment and then disappear! I checked on the webmail and they are there, but doesn't appear on Nylas anymore... |
I think I figured out a little more about this. I believe that this is the Nylas API token. Which should normally exist in a table in shared.sqlite (don't remember the table name, there are only like 4 tables though). Perhaps you can check to see if the token is missing? There should be 1 token per account. |
Don't know why I didn't realize this earlier, the file you traced back to in your intial post is "nylas-api-request". |
I figured that an API token was gone, but I wasn't sure which. Which API token are you thinking? There's one for the local API, and one for the Nylas Cloud API. I removed things that should need the Cloud API token, but maybe I messed that up. It's also possible the local API token isn't getting stored correctly for some reason. |
@dweremeichik and @simonft, there are 4 tokens in the table... The first (ID=1) I believe that is the Nylas Cloud API token. And there is the other 3 of my tree accounts (private provider, GApps, private provider, in this order). Therefore there is no missing token on the table... Maybe one of them isn't been recognized by Nylas, isn't valid or something like that. |
Seems to have fixed! But still need some testing... Here is the procedure I used. 1 - Removed the ".nylas-mail" Second try 1 - Removed the ".nylas-mail" |
Hi, @l2dy. Is this a GMail or GApps account or some other provider? |
@diegomachadosoares Other provider. |
Are there any related issues?
Not that I could find on the search... maybe #51.
What operating system are you using?
ArchLinux (I'll try to reproduce on OSX).
What version?
built from master branch
Do you have any third-party plugins installed? If so, which ones?
Nop. Just the inbox theme.
Is the issue related to a specific email provider (Gmail, Exchange, etc.)?
Yes. Just on my private IMAP server account. On GApps it seems to be working fine.
Issue
My IMAP account was woking fine until I added my GApps account (through IMAP, not GMail Oauth). Although it continues to update my inbox, it doesn't update the message status (read, deleted, etc) and doesn't save sent messages as well giving me this error message:
"ERROR We were unable to apply the changes to your thread, please try again later.
Error message: Auth token missing for account"
I could trace the message back here, but haven't been able to go much further...
The text was updated successfully, but these errors were encountered: