{"action":"created","issue":{"url":"https://api.github.com/repos/crocodoc/php-box-view/issues/4","labels_url":"https://api.github.com/repos/crocodoc/php-box-view/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/crocodoc/php-box-view/issues/4/comments","events_url":"https://api.github.com/repos/crocodoc/php-box-view/issues/4/events","html_url":"https://github.com/crocodoc/php-box-view/issues/4","id":91028560,"number":4,"title":"Getting the status of a document does not seem to be possible in case of errored documents","user":{"login":"stof","id":439401,"avatar_url":"https://avatars.githubusercontent.com/u/439401?v=3","gravatar_id":"","url":"https://api.github.com/users/stof","html_url":"https://github.com/stof","followers_url":"https://api.github.com/users/stof/followers","following_url":"https://api.github.com/users/stof/following{/other_user}","gists_url":"https://api.github.com/users/stof/gists{/gist_id}","starred_url":"https://api.github.com/users/stof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stof/subscriptions","organizations_url":"https://api.github.com/users/stof/orgs","repos_url":"https://api.github.com/users/stof/repos","events_url":"https://api.github.com/users/stof/events{/privacy}","received_events_url":"https://api.github.com/users/stof/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-25T17:36:02Z","updated_at":"2015-08-07T05:35:35Z","closed_at":null,"body":"To get the status of a document to know what I should do with it (get a thumbnail for it, or mark it as non-available in my app), I'm using this code:\r\n\r\n```php\r\n$this->client->getDocument($id)->status()\r\n```\r\n\r\nHowever, when the status is ``error``, the code seem to throw an exception, saying there is a ServerError.\r\n\r\nThe old Crocodoc API had a way to get the status without getting a 500 response code, because knowing that the processing failed is not the same than failing to get the status. Is there a way to achieve the same with box view ?"},"comment":{"url":"https://api.github.com/repos/crocodoc/php-box-view/issues/comments/128604313","html_url":"https://github.com/crocodoc/php-box-view/issues/4#issuecomment-128604313","issue_url":"https://api.github.com/repos/crocodoc/php-box-view/issues/4","id":128604313,"user":{"login":"bgoldman","id":160560,"avatar_url":"https://avatars.githubusercontent.com/u/160560?v=3","gravatar_id":"","url":"https://api.github.com/users/bgoldman","html_url":"https://github.com/bgoldman","followers_url":"https://api.github.com/users/bgoldman/followers","following_url":"https://api.github.com/users/bgoldman/following{/other_user}","gists_url":"https://api.github.com/users/bgoldman/gists{/gist_id}","starred_url":"https://api.github.com/users/bgoldman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgoldman/subscriptions","organizations_url":"https://api.github.com/users/bgoldman/orgs","repos_url":"https://api.github.com/users/bgoldman/repos","events_url":"https://api.github.com/users/bgoldman/events{/privacy}","received_events_url":"https://api.github.com/users/bgoldman/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T05:35:35Z","updated_at":"2015-08-07T05:35:35Z","body":"@stof Can you provide reliable steps to reproduce?"}}