Unable to locate [Table Name] [Record SysID) for inbound email processing

dylankerr
Tera Contributor

Hi everyone,

I’m seeing the following error during inbound email processing:

Unable to locate [Table Name] [Sys ID] for inbound email processing

We’ve confirmed this happens when the email sender does not have a sys_user record. Because of this, the inbound email runs without a user context and table ACLs block access to the record, causing the error.

If the sender does have a user record with access, the inbound email works as expected.

Requirement:
We need to allow emails from anyone (including external users with no user record) to be logged and associated with a Case.

Does anyone know:

  • What specifically controls this behavior (ACLs, inbound email actions, system properties, etc.)?

  • A recommended workaround to allow inbound emails from unauthenticated senders to still attach/log against the Case?

Thanks!

 
 
 
5 REPLIES 5

I would suggest adding additional access to the guest account for testing. If that works, you probably need to impersonate to a service account which has access to the table to create a record using below function.

gs.getSession().impersonate(sys_id of roled user);


Please mark this response as correct or helpful if it assisted you with your question.