You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the same issue. Using downloaded zip file for running the server.
I also get this warning in server console :
(node:19268) DeprecationWarning: Mongoose: mpromise (mongoose's default promise library) is deprecated, plug in your own promise library instead: http://mongoosejs.com/docs/promises.html
I think I understood what I was doing wrong. In postman don't just POST the contents. You need to enable x-www-form-urlencoded radio button
If OP thinks the problem is fixed, he can close the ticket.
this is my error:
{
"message": "movie validation failed",
"name": "ValidationError",
"errors": {
"url": {
"message": "Path
url
is required.","name": "ValidatorError",
"properties": {
"type": "required",
"message": "Path
{PATH}
is required.","path": "url"
},
"kind": "required",
"path": "url"
},
"title": {
"message": "Path
title
is required.","name": "ValidatorError",
"properties": {
"type": "required",
"message": "Path
{PATH}
is required.","path": "title"
},
"kind": "required",
"path": "title"
}
}
}
The text was updated successfully, but these errors were encountered: