Cloudflare key "" does not match regex "^[a-zA-Z0-9]+$" #391

Closed
opened 2025-11-20 04:23:29 -05:00 by saavagebueno · 5 comments
Owner

Originally created by @ThomasHineXYZ on GitHub (Apr 30, 2024).

TLDR: Describe your issue in a one liner here

  1. Is this urgent: Yes

  2. DNS provider(s) you use: N/A

  3. Program version: ae4ab39

  4. What are you using to run the container: Docker, through Unraid Community Apps.

  5. Extra information (optional)

Logs:

========================================
========================================
============= ddns-updater =============
========================================
=========== Made with ❤️ by ============
======= https://github.com/qdm12 =======
========================================
========================================

Running version latest built on 2024-04-29T14:30:33.184Z (commit ae4ab39)

🔧 Need help? https://github.com/qdm12/ddns-updater/discussions/new
🐛 Bug? https://github.com/qdm12/ddns-updater/issues/new
✨ New feature? https://github.com/qdm12/ddns-updater/issues/new
☕ Discussion? https://github.com/qdm12/ddns-updater/discussions/new
💻 Email? quentin.mcgaw@gmail.com
💰 Help me? https://www.paypal.me/qmcgaw https://github.com/sponsors/qdm12
2024-04-30T01:08:19-07:00 ERROR key is not valid: key "" does not match regex "^[a-zA-Z0-9]+$"

Configuration file (remove your credentials!):

N/A

Host OS: Unraid 6.12.6

This was running correctly on the previous commit of this. My config file hasn't changed since August 2023.

Originally created by @ThomasHineXYZ on GitHub (Apr 30, 2024). <!-- YOU CAN CHAT THERE EVENTUALLY: https://github.com/qdm12/ddns-updater/discussions --> **TLDR**: *Describe your issue in a one liner here* 1. Is this urgent: Yes 2. DNS provider(s) you use: N/A 3. Program version: ae4ab39 4. What are you using to run the container: Docker, through Unraid Community Apps. 5. Extra information (optional) Logs: ```log ======================================== ======================================== ============= ddns-updater ============= ======================================== =========== Made with ❤️ by ============ ======= https://github.com/qdm12 ======= ======================================== ======================================== Running version latest built on 2024-04-29T14:30:33.184Z (commit ae4ab39) 🔧 Need help? https://github.com/qdm12/ddns-updater/discussions/new 🐛 Bug? https://github.com/qdm12/ddns-updater/issues/new ✨ New feature? https://github.com/qdm12/ddns-updater/issues/new ☕ Discussion? https://github.com/qdm12/ddns-updater/discussions/new 💻 Email? quentin.mcgaw@gmail.com 💰 Help me? https://www.paypal.me/qmcgaw https://github.com/sponsors/qdm12 2024-04-30T01:08:19-07:00 ERROR key is not valid: key "" does not match regex "^[a-zA-Z0-9]+$" ``` Configuration file (**remove your credentials!**): ```json N/A ``` Host OS: Unraid 6.12.6 This was running correctly on the previous commit of this. My config file hasn't changed since August 2023.
Author
Owner

@ThomasHineXYZ commented on GitHub (Apr 30, 2024):

For now I'm going to pin the version I am hosting to v2,6 instead of latest.

@ThomasHineXYZ commented on GitHub (Apr 30, 2024): For now I'm going to pin the version I am hosting to `v2,6` instead of `latest`.
Author
Owner

@qdm12 commented on GitHub (Apr 30, 2024):

Please share your config, are you using the email field? If so you must set the key field as well. That was previously a bug (AFAIK) not validating the key field (fixed from #702)

@qdm12 commented on GitHub (Apr 30, 2024): Please share your config, are you using the email field? If so you must set the key field as well. That was previously a bug (AFAIK) not validating the key field (fixed from #702)
Author
Owner

@ThomasHineXYZ commented on GitHub (May 10, 2024):

Sorry for the delay

{
  "settings": [
    {
      "provider": "cloudflare",
      "zone_identifier": "abc123",
      "domain": "abc123",
      "host": "@",
      "ttl": 600,
      "email": "abc123@gmail.com",
      "token": "abc123",
      "proxied": true
    }
  ]
}

I have the inner part copied 17 times. I have even rebuilt my config file and it still doesn't work on master.

@ThomasHineXYZ commented on GitHub (May 10, 2024): Sorry for the delay ```json { "settings": [ { "provider": "cloudflare", "zone_identifier": "abc123", "domain": "abc123", "host": "@", "ttl": 600, "email": "abc123@gmail.com", "token": "abc123", "proxied": true } ] } ``` I have the inner part copied 17 times. I have even rebuilt my config file and it still doesn't work on master.
Author
Owner

@ThomasHineXYZ commented on GitHub (May 10, 2024):

It has been running just fine locked on v2.6 since my previous message last week. So it must be some change between release v2.6 and master branch.

@ThomasHineXYZ commented on GitHub (May 10, 2024): It has been running just fine locked on v2.6 since my previous message last week. So it must be some change between release v2.6 and master branch.
Author
Owner

@qdm12 commented on GitHub (May 12, 2024):

Remove the email key. As per the documentation docs/Cloudflare.md if you set an email, you're also expected to set a key. There is no need to set an email for the other authentication methods.

@qdm12 commented on GitHub (May 12, 2024): Remove the email key. As per the documentation docs/Cloudflare.md if you set an email, you're also expected to set a key. There is no need to set an email for the other authentication methods.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ddns-updater#391