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.
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.
