Hi @Panos_Loukas,
From the error you were getting, it seems that the collection was not created with the required/optional fields:
From the documentation:
Regards