{"action":"created","issue":{"url":"https://api.github.com/repos/cmck/pybrowserstack-screenshots/issues/4","labels_url":"https://api.github.com/repos/cmck/pybrowserstack-screenshots/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/cmck/pybrowserstack-screenshots/issues/4/comments","events_url":"https://api.github.com/repos/cmck/pybrowserstack-screenshots/issues/4/events","html_url":"https://github.com/cmck/pybrowserstack-screenshots/issues/4","id":57289531,"number":4,"title":"Error creating screenshot on python client.py","user":{"login":"amitaibu","id":125707,"avatar_url":"https://avatars.githubusercontent.com/u/125707?v=3","gravatar_id":"","url":"https://api.github.com/users/amitaibu","html_url":"https://github.com/amitaibu","followers_url":"https://api.github.com/users/amitaibu/followers","following_url":"https://api.github.com/users/amitaibu/following{/other_user}","gists_url":"https://api.github.com/users/amitaibu/gists{/gist_id}","starred_url":"https://api.github.com/users/amitaibu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitaibu/subscriptions","organizations_url":"https://api.github.com/users/amitaibu/orgs","repos_url":"https://api.github.com/users/amitaibu/repos","events_url":"https://api.github.com/users/amitaibu/events{/privacy}","received_events_url":"https://api.github.com/users/amitaibu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"cmck","id":4190841,"avatar_url":"https://avatars.githubusercontent.com/u/4190841?v=3","gravatar_id":"","url":"https://api.github.com/users/cmck","html_url":"https://github.com/cmck","followers_url":"https://api.github.com/users/cmck/followers","following_url":"https://api.github.com/users/cmck/following{/other_user}","gists_url":"https://api.github.com/users/cmck/gists{/gist_id}","starred_url":"https://api.github.com/users/cmck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmck/subscriptions","organizations_url":"https://api.github.com/users/cmck/orgs","repos_url":"https://api.github.com/users/cmck/repos","events_url":"https://api.github.com/users/cmck/events{/privacy}","received_events_url":"https://api.github.com/users/cmck/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-02-11T08:45:01Z","updated_at":"2015-09-14T11:48:26Z","closed_at":null,"body":"``python client.py --config ie7.json --auth my-auth:my-token``\r\n\r\nError message:\r\n```\r\nusing config ie7.json\r\nTraceback (most recent call last):\r\n  File \"client.py\", line 249, in <module>\r\n    main(sys.argv[1:])\r\n  File \"client.py\", line 240, in main\r\n    generate_resp_json = s.generate_screenshots()\r\n  File \"/Library/WebServer/Documents/pybrowserstack-screenshots/browserstack_screenshots/__init__.py\", line 86, in generate_screenshots\r\n    resp = self._process_response(resp)\r\n  File \"/Library/WebServer/Documents/pybrowserstack-screenshots/browserstack_screenshots/__init__.py\", line 55, in _process_response\r\n    raise ScreenshotNotAllowedError(\"Screenshot not allowed\")\r\nbrowserstack_screenshots.ScreenshotNotAllowedError: Screenshot not allowed\r\n```"},"comment":{"url":"https://api.github.com/repos/cmck/pybrowserstack-screenshots/issues/comments/140047391","html_url":"https://github.com/cmck/pybrowserstack-screenshots/issues/4#issuecomment-140047391","issue_url":"https://api.github.com/repos/cmck/pybrowserstack-screenshots/issues/4","id":140047391,"user":{"login":"cmck","id":4190841,"avatar_url":"https://avatars.githubusercontent.com/u/4190841?v=3","gravatar_id":"","url":"https://api.github.com/users/cmck","html_url":"https://github.com/cmck","followers_url":"https://api.github.com/users/cmck/followers","following_url":"https://api.github.com/users/cmck/following{/other_user}","gists_url":"https://api.github.com/users/cmck/gists{/gist_id}","starred_url":"https://api.github.com/users/cmck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmck/subscriptions","organizations_url":"https://api.github.com/users/cmck/orgs","repos_url":"https://api.github.com/users/cmck/repos","events_url":"https://api.github.com/users/cmck/events{/privacy}","received_events_url":"https://api.github.com/users/cmck/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T11:48:26Z","updated_at":"2015-09-14T11:48:26Z","body":"Your account must have Screenshots API access enabled, which last time I checked is not available on the free trial. I will improve the error reporting for this case"}}