#ValidationError of not declared fields

3 messages · Page 1 of 1 (latest)

slate quail
#

Hi! When I try to add more than one item in collection, I receive this validation error. Before I had declared layout field, but I removed it because I was receiving this error. After deleting that field and now having only one basic text field I still gets this error but interestingly only while trying to add more than one entry in that collection. Payload v1.1.19

fiery ravine
#

Did you specify a field as unique previously? It sounds like there is a unique index in mongo, check you mongo indexes and delete ones that are no longer being used. Connecting via Compass is pretty nice, although you could do it via CLI too.