It's all about the answers!

Ask a question

collision detected on asset being updated

Duong Tran (13811) | asked Nov 15 '12, 12:45 p.m.
 The following exception was thrown when updating asset via API:

This is one asset among ~1000 other assets being updated and it's the only one triggering this exception.  There is nothing special about this asset.

Can someone shed some light on the meaning and how to avoid it?


15 Nov 2012 12:13:03 ERROR [] - 6 Is latest asset revision of asset - collision detected on asset being updated. 6 Is latest asset revision of asset - collision detected on asset being updated.[409]
at Source)
15 Nov 2012 12:13:03 ERROR [] - The asset ARGETOL[1.0] was not updated.

2 answers

permanent link
Rich Kulp (3.6k38) | answered Nov 15 '12, 2:37 p.m.
There are two possibilities.

1) There was an actual collision. This would occur if you download the asset, updated on the client server, and then sent it to the host, but someone else updated the asset between the time you downloaded and when you sent it to the host. In that case get the asset again and make your updates and try again.

2) There is a problem with Web Servers. The default configuration of the web server has post msgs as timing out after two minutes if there is no response, and then immediately it posts the request again. When this occurs on a browser submit of a large asset it can be updated again, while it is still being updated the first time. This causes a permanent collision. You can tell this occurred for an asset if you try to just browse the asset details on the web and you get an error about collision. The workaround to prevent this is to tell the web server to not timeout on a post. Once an asset goes bad like this it requires a DBA to update a field in the database.

permanent link
Angela Borchard (70820) | answered Aug 18 '13, 9:44 p.m.

If the asset is updated and then you try to perform additonal operations on the asset you should refresh it first, otherwise this exepction can be thrown.



prior to performing additional operations on the asset.

Your answer

Register or to post your answer.