I have an array of elements to insert in a database. For each of them, I have to check their integrity (I send "Bad request" if I don\'t find an element):