Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home

Object Marked to be Available Offline Error

Last updated on 8 December 2022

M-Files Desktop

Overview

If you are seeing "Object Marked to be Available offline" along with "The parameter is incorrect" and "Script execution failed" then see below.
 

Solution

There are two sample errors listed below. In both example cases, we are seeing issues with either a script in the first example or an event handler in the second. Either one could also include a vault application.

In the first example, the issue was that some code or script in the related tasks was trying to download a file that existed in another vault. This object existed only as a shortcut object so M-Files couldn't actually download the file. This resulted in the "parameter is incorrect" error we see.
ttps://www.m-files.com/user-guide/latest/eng/relationships_between_objects_in_separate_vaults.html?hl=shortcut

In addition, you may also see this first error if the file trying to be downloaded is an empty multi-file document as there are no documents for the script to download. The fix would be to actually change the multi-file document to a regular document or add documents to the multi-file document if that is what the script is looking for.

The second example is related to an event handler. This is very similar to the above case in that somewhere in either the event handler or a related vault application, a parameter is not being met for a method called. This is causing the above error to be thrown.

The solutions for both are very similar. All code would need to be reviewed to make sure that the parameters being passed in it and any related vault applications are being met. You can selectively disable/enable scripts, event handlers, and vault applications one by one to see which is causing the issue and then debug further with specific values and instances.

NOTE: In most instances, this would lie outside of standard M-Files Support and it would be best to reach out to the creators of the scripts, event handlers, and/or applications to debug.

Example Error 1:
DlgChangeState.cpp, 678, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
VaultDocumentOperations.cpp, 3416, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
VaultDocumentOperations.cpp, 3468, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
ElectronicSignatureUIHelper.cpp, 239, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
VaultSignatureOperations.cpp, 193, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
ThreadOutCaller.cpp, 67, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
ThreadOutCaller.cpp, 583, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
VaultMethodCallTasks.cpp, 5007, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
CoVaultMountingDocumentOperations.cpp, 3274, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
DocumentCache.cpp, 11635, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
DocumentCache.cpp, 11744, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
DocumentCache.cpp, 20192, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
RPCMethodCallWithRetry.h, 35, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
RPCMethodCallWithRetry.h, 35, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
RPCDocumentOperations.cpp, 12891, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
RPCDocumentOperations.cpp, 7389, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
MCallInLoop.h, 712, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
RPCDocumentOperationsHelper.cpp, 4192, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
RPCDocumentOperationsHelper.cpp, 3753, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
RPCDocumentOperationsHelper.cpp, 9432, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
RPCDocumentOperationsHelper.cpp, 10106, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
RPCDocumentOperationsHelper.cpp, 27939, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
RPCDocumentOperationsHelperPrivate.cpp, 2913, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
RPCDocumentOperationsHelperPrivate.cpp, 3130, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
RPCDocumentOperationsHelperPrivate.cpp, 3550, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
RPCDocumentOperationsHelperPrivate.cpp, 4389, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
VaultScriptSessionTemplates.cpp, 275, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
VaultScriptSessionTemplates.cpp, 340, Script execution failed. ((EXAMPLE OF WORKFLOW STATE NAME, StateAction: 174546-4)) (0x800408BB)
VaultScriptSessionTemplates.cpp, 340, Object marked to be available offline (The parameter is incorrect.

ATLHelper.h, 507, The parameter is incorrect. (0x80070057)
(M-Files 22.4.11321.4 2022-04-20T23:15:40.899Z)
Example Error 2:
CoScriptObjectFactory.cpp, 465, Script execution failed. ((BeforeCheckInChangesFinalize::EXAMPLE OF EVENT HANDLER NAME: 2648650-1)) (0x800408BB)
ScriptErrorHelper.cpp, 96, Script execution failed. ((BeforeCheckInChangesFinalize::EXAMPLE OF EVENT HANDLER NAME: 2648650-1)) (0x800408BB)
MDispatchExImpl.h, 694, Script execution failed. ((BeforeCheckInChangesFinalize::EXAMPLE OF EVENT HANDLER NAME: 2648650-1)) (0x800408BB)
MDispatchExImpl.h, 994, Script execution failed. ((BeforeCheckInChangesFinalize::EXAMPLE OF EVENT HANDLER NAME: 2648650-1)) (0x800408BB)
MetadataCardAction.cpp, 386, Script execution failed. ((BeforeCheckInChangesFinalize::EXAMPLE OF EVENT HANDLER NAME: 2648650-1)) (0x800408BB)
MetadataCardAction.cpp, 570, Script execution failed. ((BeforeCheckInChangesFinalize::EXAMPLE OF EVENT HANDLER NAME: 2648650-1)) (0x800408BB)
MetadataEditor.cpp, 2959, Script execution failed. ((BeforeCheckInChangesFinalize::EXAMPLE OF EVENT HANDLER NAME: 2648650-1)) (0x800408BB)
MetadataModel.cpp, 4254, Script execution failed. ((BeforeCheckInChangesFinalize::EXAMPLE OF EVENT HANDLER NAME: 2648650-1)) (0x800408BB)
MetadataModel.cpp, 5178, Script execution failed. ((BeforeCheckInChangesFinalize::EXAMPLE OF EVENT HANDLER NAME: 2648650-1)) (0x800408BB)
CoVaultMountingDocumentOperations.cpp, 245, Script execution failed. ((BeforeCheckInChangesFinalize::EXAMPLE OF EVENT HANDLER NAME: 2648650-1)) (0x800408BB)
CoVaultMountingDocumentOperations.cpp, 368, Script execution failed. ((BeforeCheckInChangesFinalize::EXAMPLE OF EVENT HANDLER NAME: 2648650-1)) (0x800408BB)
DocumentCache.cpp, 4440, Script execution failed. ((BeforeCheckInChangesFinalize::EXAMPLE OF EVENT HANDLER NAME: 2648650-1)) (0x800408BB)
DocumentCache.cpp, 4509, Script execution failed. ((BeforeCheckInChangesFinalize::EXAMPLE OF EVENT HANDLER NAME: 2648650-1)) (0x800408BB)
DocumentCache.cpp, 4683, Script execution failed. ((BeforeCheckInChangesFinalize::EXAMPLE OF EVENT HANDLER NAME: 2648650-1)) (0x800408BB)
RPCMethodCallWithRetry.h, 29, Script execution failed. ((BeforeCheckInChangesFinalize::EXAMPLE OF EVENT HANDLER NAME: 2648650-1)) (0x800408BB)
RPCMethodCallWithRetry.h, 29, Script execution failed. ((BeforeCheckInChangesFinalize::EXAMPLE OF EVENT HANDLER NAME: 2648650-1)) (0x800408BB)
RPCDocumentOperations.cpp, 11606, Script execution failed. ((BeforeCheckInChangesFinalize::EXAMPLE OF EVENT HANDLER NAME: 2648650-1)) (0x800408BB)
RPCDocumentOperations.cpp, 5604, Script execution failed. ((BeforeCheckInChangesFinalize::EXAMPLE OF EVENT HANDLER NAME: 2648650-1)) (0x800408BB)
MCallInLoop.h, 712, Script execution failed. ((BeforeCheckInChangesFinalize::EXAMPLE OF EVENT HANDLER NAME: 2648650-1)) (0x800408BB)
RPCDocumentOperationsHelper.cpp, 220, Script execution failed. ((BeforeCheckInChangesFinalize::EXAMPLE OF EVENT HANDLER NAME: 2648650-1)) (0x800408BB)
RPCDocumentOperationsHelper.cpp, 392, Script execution failed. ((BeforeCheckInChangesFinalize::EXAMPLE OF EVENT HANDLER NAME: 2648650-1)) (0x800408BB)
VaultDBSessionEvents.cpp, 379, Script execution failed. ((BeforeCheckInChangesFinalize::EXAMPLE OF EVENT HANDLER NAME: 2648650-1)) (0x800408BB)
VaultDBSessionEvents.cpp, 1602, Script execution failed. ((BeforeCheckInChangesFinalize::EXAMPLE OF EVENT HANDLER NAME: 2648650-1)) (0x800408BB)
VaultScriptSessionTemplates.cpp, 274, Script execution failed. ((BeforeCheckInChangesFinalize::EXAMPLE OF EVENT HANDLER NAME: 2648650-1)) (0x800408BB)
VaultScriptSessionTemplates.cpp, 339, Script execution failed. ((BeforeCheckInChangesFinalize::EXAMPLE OF EVENT HANDLER NAME: 2648650-1)) (0x800408BB)
VaultScriptSessionTemplates.cpp, 339, Object marked to be available offline (The parameter is incorrect.

ATLHelper.h, 474, The parameter is incorrect. (0x80070057)
(M-Files 22.1.11017.2)
 

Still need help?

On this page