You are viewing limited content. For full access, please sign in.

Question

Question

Email Archive - Laserfiche-EmailArchive-Service Error

asked two days ago • Show version history

Hi:

 

I'm setting up a Laserfiche 12 / Email Archive profile with an M365 mailbox with the intention to capture emails from the Inbox, process them into a folder hierarchy that stores by year and by month. I'm using a local Laserfiche account with permissions for Email Archiving as well.  Test connection to the M365 mailbox works 100%, however when the EA Profile kicks off, it seems to throw everything into the ERROR folder section define in the EA profile.

On the LaserFiche App Server, for the EmailArchive event logs, I see the following error message:

 

Account Test.Laserfiche@paloalto.gov: Exception occurred when processing mail (2e1fdaaa-d3ae-4dd3-816a-d95dada72db3) in profile 'LF Email Archive Test Profile'.
 
Laserfiche.EmailArchive.ImportException
 
Message: Multistatus response. [9039]
The parameter is incorrect [-2147024809]
Another operation on which this operation depends failed. [9054]
Another operation on which this operation depends failed. [9054]
The parameter is incorrect [-2147024809]
Another operation on which this operation depends failed. [9054]
Another operation on which this operation depends failed. [9054]
Another operation on which this operation depends failed. [9054]
The parameter is incorrect [-2147024809]
 
StackTrace:    at Laserfiche.RepositoryAccess.EntryInfo.Save()
   at Laserfiche.EmailArchive.Workers.AssignMetadataWork.AssignMetadataInternal(EntryInfo entry)
   at Laserfiche.EmailArchive.CancellableRetryExtension.<>c__DisplayClass1_0`1.<<CancellableExecuteAction>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Laserfiche.EmailArchive.CancellableRetryExtension.CancellableExecuteAction[TResult](RetryPolicy policy, ImportProfile profile, Func`1 action, CancellationToken cancellationToken)
   at Laserfiche.EmailArchive.Workers.AssignMetadataWork.AssignMetadata(EntryInfo entry, CancellationToken cancellationToken)
   at Laserfiche.EmailArchive.EmailExecuteJob.DocumentWrapper.AssignMetadata(AssignMetadataWork assignMetaWork, CancellationToken cancellationToken)

 

I know it has something to do with the email archive profile config, but I can't seem to figure out where.

Can you suggest where I need to check in the profile for this particular error?

 

Thanks,

John Kimbrough

0 0

Replies

replied one day ago

Miruna’s suggestion is correct. The issue appears to be caused by a failure to assign metadata.

As a workaround, consider enable "Ignore metadata errors when importing document to Laserfiche". This allows the import to continue when metadata is invalid, although the invalid metadata will not be assigned, as mentioned in "Error handling" section of online help page Automating Import from an Email Server with Email Archive. 

1 0
replied one day ago

It's failing to assign metadata. Check the field values that would be set, whether their length and type can accommodate the values Email Archive would try to set. 

Does this happen for all messages?

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.