Unfamiliar Error message relating to IMAP UID

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • murugappan
    Active Community Member
    • Aug 2017
    • 545

    #1

    Unfamiliar Error message relating to IMAP UID

    Hi
    We are using Version 9.3.9. We are getting the following error messages which we cannot understand what is causing this. This is the first time we are getting this. Please help.


    [2026-07-19 07:38:04] CRITICAL: (0) Failed job 6a5c7e9f3715248eb. CheckEmailAccounts job failed, 5b4973ef4fff76a51; IMAP command "TAG9 UID SEARCH UID 0:*" failed. Response: "TAG9 BAD Error in IMAP command UID SEARCH: Invalid UID messageset (0.001 + 0.000 secs) ." :: /home/systemdev83/public_html/corporatecrm/application/Espo/Classes/Jobs/CheckEmailAccounts.php(55)
    [2026-07-19 07:39:06] CRITICAL: (0) Failed job 6a5c7e9f3715248eb. CheckEmailAccounts job failed, 5b4973ef4fff76a51; IMAP command "TAG9 UID SEARCH UID 0:*" failed. Response: "TAG9 BAD Error in IMAP command UID SEARCH: Invalid UID messageset (0.001 + 0.000 secs) ." :: /home/systemdev83/public_html/corporatecrm/application/Espo/Classes/Jobs/CheckEmailAccounts.php(55)
    [2026-07-19 07:40:05] CRITICAL: (0) Failed job 6a5c7edb7a28b45e7. CheckEmailAccounts job failed, 5b4973ef4fff76a51; IMAP command "TAG9 UID SEARCH UID 0:*" failed. Response: "TAG9 BAD Error in IMAP command UID SEARCH: Invalid UID messageset (0.001 + 0.000 secs) ." :: /home/systemdev83/public_html/corporatecrm/application/Espo/Classes/Jobs/CheckEmailAccounts.php(55)
    [2026-07-19 07:41:04] CRITICAL: (0) Failed job 6a5c7edb7a28b45e7. CheckEmailAccounts job failed, 5b4973ef4fff76a51; IMAP command "TAG9 UID SEARCH UID 0:*" failed. Response: "TAG9 BAD Error in IMAP command UID SEARCH: Invalid UID messageset (0.001 + 0.000 secs) ." :: /home/systemdev83/public_html/corporatecrm/application/Espo/Classes/Jobs/CheckEmailAccounts.php(55)
    Last edited by murugappan; Yesterday, 07:57 AM.
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9955

    #2
    Hi,

    A measure that possibly can solve this problem. Duplicate the problem Email Account (with the record ID '5b4973ef4fff76a51'). Specify "Fetch Since" to some recent date to prevent re-fetching old emails. Note that a duplicate won't be created if a previously fetched email is fetched again, but removed emails will be created again.

    In v10.0 it's also possible to reset an email account, which can be helpful for such problems.

    I'm not yet sure what caused this problem. Maybe the IMAP server returned an invalid "0" as an UID, and then this ID was used to check new messages (since that ID). While "0" is not valid.

    Comment

Working...