Object was modified in another transaction -Uploading to s3 bucket

when upadting an entity, i can’t update the image or video upload to amazons3 bucket. @ the time of commit ,It will show an error object was modified in another transaction…:confused:

Thank you…!

object was modified in another transaction

It usually occurs as a result of optimistic locking. When you save entities using DataManager and continue working with them, make sure you are working with instances returned from commit() - they have updated versions.