In case that someone gets the same issue: check the size of the object you add in the list.
In my case it was a huge object that when added to the list produced this error.
Bye.