Incoming emails result in an error and the tickets are not created

XMLWordPrintable

    • 14
    • Severity 3 - Minor
    • 5

      Issue Summary

      In some cases, when sending an email to the JSM project, there is an error message in the email log and the ticket is not created: 

      Mail handler throws exception: Unexpected error while running action as user 'Optional[XXXXXXXXXXXX]'

      This seems to be caused by a metadata corruption on the Email Handler's Request Type in the backend.

      Steps to Reproduce

      1. Send an email to the JSM project's email handler address.

      Expected Results

      The incoming email should be processed, resulting in a new ticket.

      Actual Results

      An error is shown in the project's email log and the ticket is not created:

      Mail handler throws exception: Unexpected error while running action as user 'Optional[XXXXXXXXXXXX]' 

      Workaround

      Go to the Request Type used for incoming emails, make any change to it, and save the changes. This will force the recreation of the corrupted metadata in the backend.

              Assignee:
              Tyler Wang
              Reporter:
              Marco Velasco
              Votes:
              2 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: