question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problems with Cloudflare updates

See original GitHub issue

I’m trying to update a cloudflare record and I get the following error. I’m using the latest version of octodns, also I’m able to create a new record but not update it. Any suggestions ?

2017-11-08T10:57:40  [140203730163520] INFO  CloudflareProvider[cloudflare] apply: making changes
Traceback (most recent call last):
  File "octodns/env/bin/octodns-sync", line 11, in <module>
    sys.exit(main())
  File "octodns/env/local/lib/python2.7/site-packages/octodns/cmds/sync.py", line 39, in main
    dry_run=not args.doit, force=args.force)
  File "octodns/env/local/lib/python2.7/site-packages/octodns/manager.py", line 313, in sync
    total_changes += target.apply(plan)
  File "octodns/env/local/lib/python2.7/site-packages/octodns/provider/base.py", line 157, in apply
    self._apply(plan)
  File "octodns/env/local/lib/python2.7/site-packages/octodns/provider/cloudflare.py", line 285, in _apply
    getattr(self, '_apply_{}'.format(class_name))(change)
  File "octodns/env/local/lib/python2.7/site-packages/octodns/provider/cloudflare.py", line 252, in _apply_Update
    self._apply_Create(change)
  File "octodns/env/local/lib/python2.7/site-packages/octodns/provider/cloudflare.py", line 248, in _apply_Create
    self._request('POST', path, data=content)
  File "octodns/env/local/lib/python2.7/site-packages/octodns/provider/cloudflare.py", line 68, in _request
    resp.raise_for_status()
  File octodns/env/local/lib/python2.7/site-packages/requests/models.py", line 935, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://api.cloudflare.com/client/v4/zones/3043340984359 tj04944242/dns_records

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
NicolaiSchmidcommented, Sep 23, 2021

I was actually able to resolve my issue. I had passed both email and token, which was “too much”. Just passing the token resolved the issue

0reactions
NicolaiSchmidcommented, Sep 23, 2021

@jasonkuehl Have you been able to resolve your issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cloudflare Status
Welcome to Cloudflare's home for real-time and historical data on system performance. ... We will update the status once the issue is resolved....
Read more >
Cloudflare down? Current problems and outages
The Cloudflare team is currently investigating service issues. Updates can be found here. ... We're currently investigating issues with the Cloudflare Dashboard ...
Read more >
Cloudflare outage on June 21, 2022
Today, June 21, 2022, Cloudflare suffered an outage that affected traffic in 19 of our data centers.
Read more >
Cloudflare outage: Cloudflare apologizes for data center 'error'
"This outage was caused by a change that was part of a long-running project to increase resilience in our busiest locations," Cloudflare says....
Read more >
Cloudflare - Twitter
Cloudflare has historically been an in-office, yet globally distributed company. We are now evolving into a hybrid model that is even more distributed, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found