Skip to content

Instantly share code, notes, and snippets.

@jimmyjacobson
Created January 26, 2012 08:33
Show Gist options
  • Save jimmyjacobson/1681767 to your computer and use it in GitHub Desktop.
Save jimmyjacobson/1681767 to your computer and use it in GitHub Desktop.
Error on Event Creation
curl -d "startDate=1234" "http://localhost:3000/event"
{
"type": "ValidationError",
"msg": "Event creation failed",
"errors": [
{
"msg": "missing parameter",
"parameter": "endDate"
},
{
"msg": "Requires ISO8601 Format",
"parameter": "startDate"
},
{
"msg": "missing parameter",
"parameter": "location"
},
{
"msg": "missing parameter",
"parameter": "description"
},
{
"msg": "missing parameter",
"parameter": "name"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment