Having this code in java dfc :
audittrail = (IDfAuditTrail) sess.getObject(vCollection.getId("r_object_id"));
i managed to catch this error with the following error message :
[DM_API_E_EXIST]error: "Document/object specified by 5f0203421cd60e3d does not exist."
Although the exact code work in another environment which is supposed to be a duplicate.
Any idea on how to solve this ?