Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Error resolution

The Automatic State Transition of the Object "Object ID" Failed

Last updated on 30 September 2022

Admin

Overview

In some cases, an error message is thrown which has the Object ID of the object that causes the error but if you search for that ID in the M-Files client it returns either no matching object or a different object. This is one example of an error message where this might occur:

StateChanger.cpp, 546, The automatic state transition of the object "123-12345" failed. (0x800408A2)
MCallInLoop.h, 712, The automatic state transition of the object "123-12345" failed. (0x800408A2)
StateChanger.cpp, 668, The automatic state transition of the object "123-12345" failed. (0x800408A2)
StateChanger.cpp, 668, Script execution failed. ((StateName, StateAction: 123-12345-2)) (0x800408BB)
RPCDocumentOperationsHelper.cpp, 28221, Script execution failed. ((StateName, StateAction: 123-12345-2)) (0x800408BB)
RPCDocumentOperationsHelper.cpp, 28351, Script execution failed. ((StateName, StateAction: 123-12345-2)) (0x800408BB)
RPCDocumentOperationsHelper.cpp, 9395, Script execution failed. ((StateName, StateAction: 123-12345-2)) (0x800408BB)
RPCDocumentOperationsHelper.cpp, 10068, Script execution failed. ((StateName, StateAction: 123-12345-2)) (0x800408BB)
RPCDocumentOperationsHelper.cpp, 27897, Script execution failed. ((StateName, StateAction: 123-12345-2)) (0x800408BB)
RPCDocumentOperationsHelperPrivate.cpp, 2910, Script execution failed. ((StateName, StateAction: 123-12345-2)) (0x800408BB)
RPCDocumentOperationsHelperPrivate.cpp, 3126, Script execution failed. ((StateName, StateAction: 123-12345-2)) (0x800408BB)
RPCDocumentOperationsHelperPrivate.cpp, 3546, Script execution failed. ((StateName, StateAction: 123-12345-2)) (0x800408BB)
RPCDocumentOperationsHelperPrivate.cpp, 4385, Script execution failed. ((StateName, StateAction: 123-12345-2)) (0x800408BB)
VaultScriptSessionTemplates.cpp, 275, Script execution failed. ((StateName, StateAction: 123-12345-2)) (0x800408BB)
VaultScriptSessionTemplates.cpp, 340, Script execution failed. ((StateName, StateAction: 123-12345-2)) (0x800408BB)
VaultScriptSessionTemplates.cpp, 340, The server rejected one or more recipient addresses. The server response was: 501 5.1.6 Recipient addresses in single label domains not accepted (0x8004020F)
VaultScriptSessionTemplates.cpp, 523, The server rejected one or more recipient addresses. The server response was: 501 5.1.6 Recipient addresses in single label domains not accepted (0x8004020F)
CoActiveScriptSite.cpp, 895, The server rejected one or more recipient addresses. The server response was: 501 5.1.6 Recipient addresses in single label domains not accepted (0x8004020F)
CoActiveScriptSite.cpp, 737, The server rejected one or more recipient addresses. The server response was: 501 5.1.6 Recipient addresses in single label domains not accepted (0x8004020F)
1 Day Past Due, StateAction, 87, The server rejected one or more recipient addresses. The server response was: 501 5.1.6 Recipient addresses in single label domains not accepted (0x8004020F)
MErrorHelper.cpp, 2449, The server rejected one or more recipient addresses. The server response was: 501 5.1.6 Recipient addresses in single label domains not accepted (0x8004020F)
(M-Files 22.2.11149.3)

In the given error message it's explicitly saying that an object of ID "123-12345" is failing while in a Workflow State with the name of "StateName" and at the end it gives the reason for the rejection "The server rejected one or more recipient addresses".
 

Solution

In this case the solution would be to find object 123-12345 and correct any email addresses that are problematic on it. It's important to note though that the Object ID 123-12345 is an Internal ID while the M-Files Client will be showing External Object IDs and the two might not match.

For more information see this article in the User Guide:
https://www.m-files.com/user-guide/latest/eng/faq_why_are_there_objects_with_the_same_id_in_the_vault.html

To workaround this issue, you can browse to an M-Files object by Internal ID via Windows Explorer. You would modify this link to match your vault GUID and the Object ID in the error to have it bring you to the object in question even if the internal and external ID don't match:

m-files://show/<VaultGUID>/<ObjectType>-<InteralID found in event viewer log>

Graphical user interface, text, application  Description automatically generated

 

Still need help?

On this page