You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Setting the TTL in the config to anything below 60 for a non-Enterprise account causes the Cloudflare API request to fail, with error code 9021:
😡 Error sending 'POST' request to 'https://api.cloudflare.com/client/v4/zones/***/dns_records':
{"result":null,"success":false,"errors":[{"code":1004,"message":"DNS Validation Error","error_chain":[{"code":9021,"message":"TTL must be between 60 and 86400 seconds, or 1 for Automatic."}]}],"messages":[]}
To Reproduce
Steps to reproduce the behavior:
Change the ttl option in config.json to 30 (using a non-Enterprise Cloudflare account).
Run python cloudflare-ddns.py --repeat.
See error.
Expected behavior
The TTL option should be set to 1 (auto), instead of continuing to try to use the invalid TTL in a POST request.
Desktop
OS: Arch Linux
The text was updated successfully, but these errors were encountered:
Describe the bug
Setting the TTL in the config to anything below 60 for a non-Enterprise account causes the Cloudflare API request to fail, with error code 9021:
To Reproduce
Steps to reproduce the behavior:
ttl
option inconfig.json
to 30 (using a non-Enterprise Cloudflare account).python cloudflare-ddns.py --repeat
.Expected behavior
The TTL option should be set to 1 (auto), instead of continuing to try to use the invalid TTL in a POST request.
Desktop
The text was updated successfully, but these errors were encountered: