{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/publish.webmaker.org/issues/100","labels_url":"https://api.github.com/repos/mozilla/publish.webmaker.org/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/publish.webmaker.org/issues/100/comments","events_url":"https://api.github.com/repos/mozilla/publish.webmaker.org/issues/100/events","html_url":"https://github.com/mozilla/publish.webmaker.org/issues/100","id":91911524,"number":100,"title":"ValidationError: `description` is not allowed to be empty","user":{"login":"gideonthomas","id":5816130,"avatar_url":"https://avatars.githubusercontent.com/u/5816130?v=3","gravatar_id":"","url":"https://api.github.com/users/gideonthomas","html_url":"https://github.com/gideonthomas","followers_url":"https://api.github.com/users/gideonthomas/followers","following_url":"https://api.github.com/users/gideonthomas/following{/other_user}","gists_url":"https://api.github.com/users/gideonthomas/gists{/gist_id}","starred_url":"https://api.github.com/users/gideonthomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gideonthomas/subscriptions","organizations_url":"https://api.github.com/users/gideonthomas/orgs","repos_url":"https://api.github.com/users/gideonthomas/repos","events_url":"https://api.github.com/users/gideonthomas/events{/privacy}","received_events_url":"https://api.github.com/users/gideonthomas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/publish.webmaker.org/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-29T21:16:06Z","updated_at":"2015-06-30T21:07:50Z","closed_at":null,"body":"We seem to not allow description to be an empty string for the project resource. I don't think this is such a good idea because from thimble's perspective, users might not want to give a description which should be fine."},"comment":{"url":"https://api.github.com/repos/mozilla/publish.webmaker.org/issues/comments/117342133","html_url":"https://github.com/mozilla/publish.webmaker.org/issues/100#issuecomment-117342133","issue_url":"https://api.github.com/repos/mozilla/publish.webmaker.org/issues/100","id":117342133,"user":{"login":"gideonthomas","id":5816130,"avatar_url":"https://avatars.githubusercontent.com/u/5816130?v=3","gravatar_id":"","url":"https://api.github.com/users/gideonthomas","html_url":"https://github.com/gideonthomas","followers_url":"https://api.github.com/users/gideonthomas/followers","following_url":"https://api.github.com/users/gideonthomas/following{/other_user}","gists_url":"https://api.github.com/users/gideonthomas/gists{/gist_id}","starred_url":"https://api.github.com/users/gideonthomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gideonthomas/subscriptions","organizations_url":"https://api.github.com/users/gideonthomas/orgs","repos_url":"https://api.github.com/users/gideonthomas/repos","events_url":"https://api.github.com/users/gideonthomas/events{/privacy}","received_events_url":"https://api.github.com/users/gideonthomas/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T21:07:50Z","updated_at":"2015-06-30T21:07:50Z","body":"Try:\r\n`curl -X PUT -H \"Content-Type: application/json\" -d '{\"user_id\": 1, \"title\": \"spacecats-API\", \"tags\": \"sinatra, api, REST, server, ruby\", \"description\": \"\", \"date_created\": \"2015-06-03T13:21:58+00:00\", \"date_updated\": \"2015-06-03T13:21:58+00:00\"}' http://localhost:2015/projects/1`\r\n\r\nI get back an error that says:\r\n`{\"statusCode\":400,\"error\":\"Bad Request\",\"message\":\"`id` invalid\"}`\r\n\r\nAnd in the `publish.webmaker.org` console I see the following error:\r\n```js\r\n{\r\n      \"data\": {\r\n        \"name\": \"ValidationError\",\r\n        \"details\": [\r\n          {\r\n            \"message\": \"\\\"description\\\" is not allowed to be empty\",\r\n            \"path\": \"description\",\r\n            \"type\": \"any.empty\",\r\n            \"context\": {\r\n              \"key\": \"description\"\r\n            }\r\n          }\r\n        ],\r\n        \"_object\": {\r\n          \"user_id\": 1,\r\n          \"title\": \"spacecats-API\",\r\n          \"tags\": \"sinatra, api, REST, server, ruby\",\r\n          \"description\": \"\",\r\n          \"date_created\": \"2015-06-03T13:21:58+00:00\",\r\n          \"date_updated\": \"2015-06-03T13:21:58+00:00\"\r\n        }\r\n      },\r\n      \"isBoom\": true,\r\n      \"isServer\": false,\r\n      \"output\": {\r\n        \"statusCode\": 400,\r\n        \"payload\": {\r\n          \"statusCode\": 400,\r\n          \"error\": \"Bad Request\",\r\n          \"message\": \"child \\\"description\\\" fails because [\\\"description\\\" is not allowed to be empty]\",\r\n          \"validation\": {\r\n            \"source\": \"payload\",\r\n            \"keys\": [\r\n              \"description\"\r\n            ]\r\n          }\r\n        },\r\n        \"headers\": {}\r\n      }\r\n    }\r\n```"}}