Troubleshooting tips

Problem description Solution
This component does not send any email messages. Make sure that the Account settings are correct, and that the recipient’s email address is correct. If you have multiple recipients, make sure that their addresses are separated by the semicolon character (;).

When the component tries to send messages and the following error appears:

"Unable to route Knowledge Object (One or more errors occurred. Code: ResourceNotFound Message: Resource could not be discovered…)"

This error appears when the From field references a non-existing Microsoft 365 organizational mailbox.

To solve this problem, check the From field setting on the Mail settings tab.

When the component tries to send messages and the following error appears:

"Unable to route Knowledge Object (One or more errors occurred. Code: ErrorSendAsDenied"

"Message: The user account which was used to submit this request does not have the right to send mail on behalf of the specified sending account., Cannot submit message.…)"

This error appears when the user account template string is resolved, but the user has no permission to send on behalf of the sender in the From field.

To solve this problem, check the From field setting on the Mail settings tab and/or grant the necessary permissions.

The component displays the error message: "One or more errors occurred. Object reference not set to an instance of an object."

By default, the component displays a general error message: "One or more errors occurred. Object reference not set to an instance of an object."

To obtain more detailed error messages from the Graph API, enable the Extended Logging in the MS Graph section in the configuration file by changing the EXTENDED LOGGING value to "ON" (it is "OFF" by default). The configuration file should not be active in AutoStore during this process; stop the AutoStore service and close the AutoStore Process Designer to ensure the configuration is not loaded while modifying. Extended Logging should be ON only while producing logs to narrow down where the issue is; it should be OFF for production use.

Example:

AutoStore.Components.MsGraphRoute.Mail.MsGraphMailRoute{

...

TIMEOUT = 100

EXTENDED LOGGING = ON

...

}