Overview
The IDs reported in M-Files errors are internal IDs, so if it reports something like (The value " X-Y" does not exist):
- X is Object Type internal ID
- Y is Object internal ID
Example: CheckObjIDExistence.cpp, 125, The value "133-228640" does not exist, or it is a conflict object. (0x800408E8)
In this example error message, the Object Type is 133, and the Internal Object ID is 228640.
The issue here is that objects cannot be found when searched with internal IDs, so you will likely need the External ID (which we don't log at the moment of writing this article).
Solution
If you know the internal object type ID and the internal ID of an object, you can easily generate an M-Files Desktop link to the object and locate it using M-Files Desktop, see M-Files URL Properties.pdf.
This way also you can easily find the object based on Internal ID and the External ID is not needed for locating the object:
m-files://show/<vault_guid_without_curly_braces>/<object_type_id>-<object_id>
For example: m-files://show/FFE93D16-218E-468C-92A6-02B1149493F2/133-228640
Notes:
- It is also possible to display the external ID following the steps mentioned in this article Displaying an external object's internal ID.
- We have an improvement request with ID 157009 to add the object's external ID to the error message.
- You can read more details on internal and external IDs in the following article M-Files Developer Portal: Internal and External IDs. For example, you can see API methods that can return more object details based on its internal ID, including its external (display) ID.
