Error

Duplicate keys detected: ‘0‘. This may cause an update error.

Solution

The reason is very simple, you set two identical key values ​​in the loop element. Just modify the key value of one of the elements.