{"action":"closed","issue":{"url":"https://api.github.com/repos/MasoniteFramework/core/issues/123","repository_url":"https://api.github.com/repos/MasoniteFramework/core","labels_url":"https://api.github.com/repos/MasoniteFramework/core/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/MasoniteFramework/core/issues/123/comments","events_url":"https://api.github.com/repos/MasoniteFramework/core/issues/123/events","html_url":"https://github.com/MasoniteFramework/core/issues/123","id":321802346,"number":123,"title":"TypeError > encoding without a string argument","user":{"login":"josephmancuso","id":20172538,"avatar_url":"https://avatars1.githubusercontent.com/u/20172538?v=4","gravatar_id":"","url":"https://api.github.com/users/josephmancuso","html_url":"https://github.com/josephmancuso","followers_url":"https://api.github.com/users/josephmancuso/followers","following_url":"https://api.github.com/users/josephmancuso/following{/other_user}","gists_url":"https://api.github.com/users/josephmancuso/gists{/gist_id}","starred_url":"https://api.github.com/users/josephmancuso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephmancuso/subscriptions","organizations_url":"https://api.github.com/users/josephmancuso/orgs","repos_url":"https://api.github.com/users/josephmancuso/repos","events_url":"https://api.github.com/users/josephmancuso/events{/privacy}","received_events_url":"https://api.github.com/users/josephmancuso/received_events","type":"User","site_admin":false},"labels":[{"id":798555915,"url":"https://api.github.com/repos/MasoniteFramework/core/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":{"login":"josephmancuso","id":20172538,"avatar_url":"https://avatars1.githubusercontent.com/u/20172538?v=4","gravatar_id":"","url":"https://api.github.com/users/josephmancuso","html_url":"https://github.com/josephmancuso","followers_url":"https://api.github.com/users/josephmancuso/followers","following_url":"https://api.github.com/users/josephmancuso/following{/other_user}","gists_url":"https://api.github.com/users/josephmancuso/gists{/gist_id}","starred_url":"https://api.github.com/users/josephmancuso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephmancuso/subscriptions","organizations_url":"https://api.github.com/users/josephmancuso/orgs","repos_url":"https://api.github.com/users/josephmancuso/repos","events_url":"https://api.github.com/users/josephmancuso/events{/privacy}","received_events_url":"https://api.github.com/users/josephmancuso/received_events","type":"User","site_admin":false},"assignees":[{"login":"josephmancuso","id":20172538,"avatar_url":"https://avatars1.githubusercontent.com/u/20172538?v=4","gravatar_id":"","url":"https://api.github.com/users/josephmancuso","html_url":"https://github.com/josephmancuso","followers_url":"https://api.github.com/users/josephmancuso/followers","following_url":"https://api.github.com/users/josephmancuso/following{/other_user}","gists_url":"https://api.github.com/users/josephmancuso/gists{/gist_id}","starred_url":"https://api.github.com/users/josephmancuso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephmancuso/subscriptions","organizations_url":"https://api.github.com/users/josephmancuso/orgs","repos_url":"https://api.github.com/users/josephmancuso/repos","events_url":"https://api.github.com/users/josephmancuso/events{/privacy}","received_events_url":"https://api.github.com/users/josephmancuso/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-05-10T04:03:08Z","updated_at":"2018-05-10T18:19:22Z","closed_at":"2018-05-10T18:19:22Z","author_association":"OWNER","body":"This error is a little ambiguous and might not be automatically apparent to the developer what happened.\r\n\r\nWe need a more obvious error thrown when or before converting the response to bytes. To mimic this error you can just not return something in the view:\r\n\r\n```python\r\ndef show(self):\r\n    view('index')\r\n```\r\n\r\nWhat this error throws is that we have to convert the response to bytes but the response should be a string (but we didn't return anything.)\r\n\r\nThis exception might be better off as something like:\r\n\r\n`ResponseError - an acceptable response type was not returned.`\r\n\r\nEven this seems a little ambiguous. As always, any and all opinions are appreciated"}}
{"actor":{"display_login":"josephmancuso"}}