Unique violation when trying to create a new Field Collection using Rules
It seems to be working fine, when I'm using event "Before saving content (of type ...)". If you also want to make sure, that it only affects newly created entities (mostly nodes), you'll also want to add condition "Data value is empty" for node:nid or another entity ID.