Skip to content

Cloudflare API keys - Problems #125

@SdotVdot

Description

@SdotVdot

I’m using Caddy v2.11.2 with the dns.providers.cloudflare module. A new Cloudflare API token (user token, DNS edit + zone read) is verified as valid via /user/tokens/verify, but Caddy fails at startup with:

provision dns.providers.cloudflare: API token appears invalid

An older token (different format/length) works without issue. The failure happens before any API call (during provider provisioning), suggesting local validation may be rejecting newer token formats.

Is there any known incompatibility with newer Cloudflare API tokens?

EDIT: I see now that there are two pull requests addressing this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions