barnybug/cli53 — Issue #25: 400 Bad Request on import --replace
Author: gingerlime
Created: 2011-12-27 21:47:04+00:00
State: open

Hi Barnybug,

Just trying cli53 for the first time. I've imported a zone file successfully. Then the next thing I tried is making a small change on one record (CNAME record), and then tried to import it again, this time with --replace.

I'm getting this error message:

```python
Traceback (most recent call last):
File "bin/cli53", line 22, in
cli53.cli53.main()
File "/tmp/cli53/src/cli53/cli53.py", line 599, in main
args.func(args)
File "/tmp/cli53/src/cli53/cli53.py", line 379, in cmd_import
ret = r53.change_rrsets(args.zone, xml)
File "/tmp/cli53/eggs/boto-2.1.1-py2.6.egg/boto/route53/connection.py", line 291, in change_rrsets
body)
boto.route53.exception.DNSServerError: DNSServerError: 400 Bad Request

SenderInvalidChangeBatchTried to delete resource record set ********.com., type TXT but the values provided do not match the current valuesb3f620fe-30d3-11e1-bdf7-b5f61935c370
```

I googled and find issue #5, so it might be a similar problem?

Any help would be highly appreciated.