...using a random item_id generated as parameter at...
do you mean that literally? this is not supposed to work.
acs objects are created with the stored procedure acs_object__new, which creates a fresh object_id and inserts it into acs_objects. This object_id should be used as item_id in your app...