Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Cast to [ObjectId] failed for value

//Maybe try with .Array in your schema
Bilhete: { type: Schema.Types.Array, ref: "Bilhete" },
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Cast #failed
ADD COMMENT
Topic
Name
5+7 =