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

No checked-in version available error when using the API

Last updated on 23 March 2023

COM API

Overview

When using the M-Files API, if you get "No checked-in version available" error after updating to M-Files 22.12 or newer, see below for a possible solution.

Details

The error stack will point to the row where the error happens.

Check if you have GetLatestObjectVersionAndProperties or GetLatestObjVer with AllowCheckedOut parameter set to False. The reason for the error may be that the script is not allowed to access a checked out object.

https://www.m-files.com/api/documentation/#MFilesAPI~VaultObjectOperations~GetLatestObjectVersionAndProperties.html

Solution

Try changing the AllowCheckedOut parameter to True.

Notes

Please note that scripting is not a part of standard support and this is just an example script to show how to use the API. Be aware that all scripts are run at your own risk.

Still need help?