{"action":"closed","issue":{"url":"https://api.github.com/repos/cloudflare/python-cloudflare/issues/36","repository_url":"https://api.github.com/repos/cloudflare/python-cloudflare","labels_url":"https://api.github.com/repos/cloudflare/python-cloudflare/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/cloudflare/python-cloudflare/issues/36/comments","events_url":"https://api.github.com/repos/cloudflare/python-cloudflare/issues/36/events","html_url":"https://github.com/cloudflare/python-cloudflare/issues/36","id":253158002,"number":36,"title":"Regression in 1.7.0 when adding TXT records","user":{"login":"multippt","id":1856033,"avatar_url":"https://avatars1.githubusercontent.com/u/1856033?v=4","gravatar_id":"","url":"https://api.github.com/users/multippt","html_url":"https://github.com/multippt","followers_url":"https://api.github.com/users/multippt/followers","following_url":"https://api.github.com/users/multippt/following{/other_user}","gists_url":"https://api.github.com/users/multippt/gists{/gist_id}","starred_url":"https://api.github.com/users/multippt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/multippt/subscriptions","organizations_url":"https://api.github.com/users/multippt/orgs","repos_url":"https://api.github.com/users/multippt/repos","events_url":"https://api.github.com/users/multippt/events{/privacy}","received_events_url":"https://api.github.com/users/multippt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-27T11:31:11Z","updated_at":"2017-08-27T16:32:48Z","closed_at":"2017-08-27T16:32:48Z","body":"* Expected result: Either a successful or \"record already exists\" result from API, as seen from version 1.6.2.\r\n* Instead got error: CloudFlare.exceptions.CloudFlareAPIError: DNS Validation Error, on version 1.7.0\r\n\r\nSample code to reproduce (replace relevant parts)\r\n```\r\nimport CloudFlare\r\ncf = CloudFlare.CloudFlare(\"[email]\", \"[key]\")\r\nzones = cf.zones.get(params={'name': \"[domain]\",'per_page': 1})\r\nzone_id = zones[0][\"id\"]\r\nprint(cf.zones.dns_records.post(zone_id, data={'type': 'TXT', 'name': 'testtxt', 'content': 'test', 'ttl': 120}))\r\n```\r\n\r\nThis bug will affect services that make use of TXT records (e.g. LetsEncrypt) when using the latest version of the Cloudflare module\r\n"}}
{"actor":{"display_login":"mahtin"}}