I am getting the validation to fail error even though I have given all required

Viewed 6

I am getting the validation to fail error even though I have given all required items/parameters to the body then also it gives an error ...

enter image description here

schema model restaurant:

enter image description here

restaurant API Router for the posting :

enter image description here

main server index :

enter image description here enter image description here

if any one faced same issue or if it resolved please do share with me because i am also facing validation error event i have provide required body items then also it is giving me validation error ... but if i removed "mapLoaction" from schema then it was work well but when mapLoaction is added in schema then it gives the validation error .please look inti my issue ..

*i see some old solution but no result because they are so old 5-6 yeas agos questions.

same issue while posting othere data schemamodels also gives validation error

0 Answers
Related