{"action":"closed","issue":{"url":"https://api.github.com/repos/cloudant/python-cloudant/issues/338","repository_url":"https://api.github.com/repos/cloudant/python-cloudant","labels_url":"https://api.github.com/repos/cloudant/python-cloudant/issues/338/labels{/name}","comments_url":"https://api.github.com/repos/cloudant/python-cloudant/issues/338/comments","events_url":"https://api.github.com/repos/cloudant/python-cloudant/issues/338/events","html_url":"https://github.com/cloudant/python-cloudant/issues/338","id":273174741,"number":338,"title":"HTTPError: 404 Client Error: Object Not Found not_found Database does not exist","user":{"login":"trojek","id":2939613,"avatar_url":"https://avatars1.githubusercontent.com/u/2939613?v=4","gravatar_id":"","url":"https://api.github.com/users/trojek","html_url":"https://github.com/trojek","followers_url":"https://api.github.com/users/trojek/followers","following_url":"https://api.github.com/users/trojek/following{/other_user}","gists_url":"https://api.github.com/users/trojek/gists{/gist_id}","starred_url":"https://api.github.com/users/trojek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trojek/subscriptions","organizations_url":"https://api.github.com/users/trojek/orgs","repos_url":"https://api.github.com/users/trojek/repos","events_url":"https://api.github.com/users/trojek/events{/privacy}","received_events_url":"https://api.github.com/users/trojek/received_events","type":"User","site_admin":false},"labels":[{"id":253820574,"url":"https://api.github.com/repos/cloudant/python-cloudant/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-11-11T20:43:44Z","updated_at":"2017-11-17T20:42:16Z","closed_at":"2017-11-17T20:42:16Z","author_association":"NONE","body":"I use cloudant 2.7.0 version and python 3.5.\r\n\r\nI execute the following code:\r\n\r\n```\r\nclient = Cloudant(user, pass, url=url)\r\nclient.connect()\r\nuser_db = client.create_database(_uuid)\r\ncredentials = client.generate_api_key()\r\nuser_db.share_database(credentials['key'], roles=['_reader', '_replicator', '_writer'])\r\n```\r\n\r\nonce for several executions of the code I get an error: requests.exceptions.HTTPError: 404 Client Error: Object Not Found not_found Database does not exist. for url: https://name.cloudant.com/8f1b3ae4-2be3-4789-becb-a0721dd8f173/_security\r\n\r\n"}}
{"actor":{"display_login":"trojek"}}