{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/Office-Online-Test-Tools-and-Documentation/issues/231","repository_url":"https://api.github.com/repos/Microsoft/Office-Online-Test-Tools-and-Documentation","labels_url":"https://api.github.com/repos/Microsoft/Office-Online-Test-Tools-and-Documentation/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/Office-Online-Test-Tools-and-Documentation/issues/231/comments","events_url":"https://api.github.com/repos/Microsoft/Office-Online-Test-Tools-and-Documentation/issues/231/events","html_url":"https://github.com/Microsoft/Office-Online-Test-Tools-and-Documentation/issues/231","id":161723608,"number":231,"title":"Error when opening a file for editing","user":{"login":"adar237","id":12956991,"avatar_url":"https://avatars.githubusercontent.com/u/12956991?v=3","gravatar_id":"","url":"https://api.github.com/users/adar237","html_url":"https://github.com/adar237","followers_url":"https://api.github.com/users/adar237/followers","following_url":"https://api.github.com/users/adar237/following{/other_user}","gists_url":"https://api.github.com/users/adar237/gists{/gist_id}","starred_url":"https://api.github.com/users/adar237/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adar237/subscriptions","organizations_url":"https://api.github.com/users/adar237/orgs","repos_url":"https://api.github.com/users/adar237/repos","events_url":"https://api.github.com/users/adar237/events{/privacy}","received_events_url":"https://api.github.com/users/adar237/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-22T16:08:06Z","updated_at":"2016-06-23T16:40:03Z","closed_at":null,"body":"Hello,\r\nI implemented a Wopi host in java and it's working fine (thanks to @tylerbutler) when I try to view a file. But when opening a file for editing(/creation) I get the following error. \r\n\r\n\"Sorry this document cannot be opened for editing\"\r\n\r\nThis error appears when trying to edit a Microsoft Word (.docx) empty file. And the same when trying for Excel and Powerpoint too. I've implemented all the lock and update endpoints and tested them successfully with the [Wopi validator](https://wopi.readthedocs.io/en/latest/build_test_ship/validator.html) . So now I don't really know where is the problem, my app is using the Office Online test environment for WOPI discovery.\r\n\r\nNeed help please..."},"comment":{"url":"https://api.github.com/repos/Microsoft/Office-Online-Test-Tools-and-Documentation/issues/comments/228108910","html_url":"https://github.com/Microsoft/Office-Online-Test-Tools-and-Documentation/issues/231#issuecomment-228108910","issue_url":"https://api.github.com/repos/Microsoft/Office-Online-Test-Tools-and-Documentation/issues/231","id":228108910,"user":{"login":"adar237","id":12956991,"avatar_url":"https://avatars.githubusercontent.com/u/12956991?v=3","gravatar_id":"","url":"https://api.github.com/users/adar237","html_url":"https://github.com/adar237","followers_url":"https://api.github.com/users/adar237/followers","following_url":"https://api.github.com/users/adar237/following{/other_user}","gists_url":"https://api.github.com/users/adar237/gists{/gist_id}","starred_url":"https://api.github.com/users/adar237/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adar237/subscriptions","organizations_url":"https://api.github.com/users/adar237/orgs","repos_url":"https://api.github.com/users/adar237/repos","events_url":"https://api.github.com/users/adar237/events{/privacy}","received_events_url":"https://api.github.com/users/adar237/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T16:40:03Z","updated_at":"2016-06-23T16:40:03Z","body":"thanks @tylerbutler for your answer, I followed the file creation flow and used the `editnew` action for this file which is 0 bytes at its creation. \r\n\r\nHere is the session ID : `78ecf61b-3659-4ad2-80bb-1fc9de79fc3c`\r\nI also attached the fiddler trace of the editnew action . \r\nHope those will help. Thanks in advance.\r\n\r\n[trace.zip](https://github.com/Microsoft/Office-Online-Test-Tools-and-Documentation/files/330427/trace.zip)\r\n"}}
{"actor":{"display_login":"adar237"}}