{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/4510","labels_url":"https://api.github.com/repos/appium/appium/issues/4510/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/4510/comments","events_url":"https://api.github.com/repos/appium/appium/issues/4510/events","html_url":"https://github.com/appium/appium/issues/4510","id":56996805,"number":4510,"title":"Unable to get the snapshot from Android simulator on Sauce labs ","user":{"login":"Ankit9568","id":7448394,"avatar_url":"https://avatars.githubusercontent.com/u/7448394?v=3","gravatar_id":"","url":"https://api.github.com/users/Ankit9568","html_url":"https://github.com/Ankit9568","followers_url":"https://api.github.com/users/Ankit9568/followers","following_url":"https://api.github.com/users/Ankit9568/following{/other_user}","gists_url":"https://api.github.com/users/Ankit9568/gists{/gist_id}","starred_url":"https://api.github.com/users/Ankit9568/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ankit9568/subscriptions","organizations_url":"https://api.github.com/users/Ankit9568/orgs","repos_url":"https://api.github.com/users/Ankit9568/repos","events_url":"https://api.github.com/users/Ankit9568/events{/privacy}","received_events_url":"https://api.github.com/users/Ankit9568/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appium/appium/labels/NeedsTriage","name":"NeedsTriage","color":"ededed"},{"url":"https://api.github.com/repos/appium/appium/labels/OnGoing","name":"OnGoing","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-09T07:15:58Z","updated_at":"2015-04-29T04:23:13Z","closed_at":"2015-04-28T16:37:04Z","body":"I am trying to Fetch the snapshot from AndroidSimulators using Appium on sauce labs \r\n\r\nFaces below Exception: \r\nunknown error: unhandled inspector error: {\"code\":-32603,\"message\":\"Unable to capture screenshot\"} \r\n\r\nCode for take a snapshot\r\n\r\nAppiumDriver driver = new AppiumDriver(); \r\nFile scrFile = driver.getScreenshotAs(OutputType.FILE); \r\nFileUtils.copyFile(scrFile, new File(\"D:/a.txt\"));\r\n\r\nBut when i am trying to get the snapshot from RealDevice in my local environment using appium code is worked\r\n\r\nAny help will be greatly appreciated"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/97299884","html_url":"https://github.com/appium/appium/issues/4510#issuecomment-97299884","issue_url":"https://api.github.com/repos/appium/appium/issues/4510","id":97299884,"user":{"login":"Ankit9568","id":7448394,"avatar_url":"https://avatars.githubusercontent.com/u/7448394?v=3","gravatar_id":"","url":"https://api.github.com/users/Ankit9568","html_url":"https://github.com/Ankit9568","followers_url":"https://api.github.com/users/Ankit9568/followers","following_url":"https://api.github.com/users/Ankit9568/following{/other_user}","gists_url":"https://api.github.com/users/Ankit9568/gists{/gist_id}","starred_url":"https://api.github.com/users/Ankit9568/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ankit9568/subscriptions","organizations_url":"https://api.github.com/users/Ankit9568/orgs","repos_url":"https://api.github.com/users/Ankit9568/repos","events_url":"https://api.github.com/users/Ankit9568/events{/privacy}","received_events_url":"https://api.github.com/users/Ankit9568/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T04:23:13Z","updated_at":"2015-04-29T04:23:13Z","body":"Hello moizjv,\r\nthanks for suggestion, I have already reported issue on sauce lab support \r\nIssue ID- #18453 \r\n  \r\nThanks"}}