{"action":"created","issue":{"url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/1385","repository_url":"https://api.github.com/repos/telefonicaid/fiware-orion","labels_url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/1385/labels{/name}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/1385/comments","events_url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/1385/events","html_url":"https://github.com/telefonicaid/fiware-orion/issues/1385","id":112310183,"number":1385,"title":"[BUG] in update request /v2/entities/<ID>/attrs/<ATTR_NAME> the error field has blank spaces that are leftover","user":{"login":"iariasleon","id":4330098,"avatar_url":"https://avatars.githubusercontent.com/u/4330098?v=3","gravatar_id":"","url":"https://api.github.com/users/iariasleon","html_url":"https://github.com/iariasleon","followers_url":"https://api.github.com/users/iariasleon/followers","following_url":"https://api.github.com/users/iariasleon/following{/other_user}","gists_url":"https://api.github.com/users/iariasleon/gists{/gist_id}","starred_url":"https://api.github.com/users/iariasleon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iariasleon/subscriptions","organizations_url":"https://api.github.com/users/iariasleon/orgs","repos_url":"https://api.github.com/users/iariasleon/repos","events_url":"https://api.github.com/users/iariasleon/events{/privacy}","received_events_url":"https://api.github.com/users/iariasleon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/telefonicaid/fiware-orion/labels/APIv2","name":"APIv2","color":"5319e7"},{"url":"https://api.github.com/repos/telefonicaid/fiware-orion/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/telefonicaid/fiware-orion/labels/P5","name":"P5","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/telefonicaid/fiware-orion/milestones/25","html_url":"https://github.com/telefonicaid/fiware-orion/milestones/1.1.0","labels_url":"https://api.github.com/repos/telefonicaid/fiware-orion/milestones/25/labels","id":1562952,"number":25,"title":"1.1.0","description":"","creator":{"login":"fgalan","id":1534240,"avatar_url":"https://avatars.githubusercontent.com/u/1534240?v=3","gravatar_id":"","url":"https://api.github.com/users/fgalan","html_url":"https://github.com/fgalan","followers_url":"https://api.github.com/users/fgalan/followers","following_url":"https://api.github.com/users/fgalan/following{/other_user}","gists_url":"https://api.github.com/users/fgalan/gists{/gist_id}","starred_url":"https://api.github.com/users/fgalan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgalan/subscriptions","organizations_url":"https://api.github.com/users/fgalan/orgs","repos_url":"https://api.github.com/users/fgalan/repos","events_url":"https://api.github.com/users/fgalan/events{/privacy}","received_events_url":"https://api.github.com/users/fgalan/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":1,"state":"open","created_at":"2016-02-04T10:19:06Z","updated_at":"2016-02-24T15:46:14Z","due_on":"2016-04-29T22:00:00Z","closed_at":null},"comments":1,"created_at":"2015-10-20T08:11:08Z","updated_at":"2016-02-24T15:46:14Z","closed_at":"2016-02-24T15:46:14Z","body":"in update request `/v2/entities/<ID>/attrs/<ATTR_NAME>` in some errors the error field the blank spaces are leftover.\r\n\r\n### without payload:\r\n```\r\n{\"error\":\"Length Required\"\r\n```\r\nInstead of:\r\n```\r\n{\"error\":\"LengthRequired\"\r\n```\r\n\r\n### when max. size supported: 1048576 in payload is exceded:\r\n```\r\n{\"error\":\"Request Entity Too Large\"\r\n```\r\nInstead of:\r\n```\r\n{\"error\":\"RequestEntityTooLarge\"\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/comments/188312653","html_url":"https://github.com/telefonicaid/fiware-orion/issues/1385#issuecomment-188312653","issue_url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/1385","id":188312653,"user":{"login":"iariasleon","id":4330098,"avatar_url":"https://avatars.githubusercontent.com/u/4330098?v=3","gravatar_id":"","url":"https://api.github.com/users/iariasleon","html_url":"https://github.com/iariasleon","followers_url":"https://api.github.com/users/iariasleon/followers","following_url":"https://api.github.com/users/iariasleon/following{/other_user}","gists_url":"https://api.github.com/users/iariasleon/gists{/gist_id}","starred_url":"https://api.github.com/users/iariasleon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iariasleon/subscriptions","organizations_url":"https://api.github.com/users/iariasleon/orgs","repos_url":"https://api.github.com/users/iariasleon/repos","events_url":"https://api.github.com/users/iariasleon/events{/privacy}","received_events_url":"https://api.github.com/users/iariasleon/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T15:46:14Z","updated_at":"2016-02-24T15:46:14Z","body":"LGTM\r\n```\r\nhttp code: 411\r\n{\"error\":\"LengthRequired\",\"description\":\"Zero/No Content-Length in PUT/POST/PATCH request\"}\r\n```\r\n```\r\nhttp code: 413\r\n {\"error\":\"RequestEntityTooLarge\",\"description\":\"payload size: 1048591, max size supported: 1048576\"}\r\n\r\n```\r\n"}}