Skip to content

[ERROR] A request to the Cloudflare API (/memberships) failed. #13857

Description

@wesleymchapado

What versions & operating system are you using?

wrangler@4.89.1

Describe the Bug

The error occurs during deployment, even with the updated API token.

Please provide any relevant error logs

Run npx wrangler whoami
npx wrangler whoami
shell: /usr/bin/bash -e {0}
env:
CLOUDFLARE_ACCOUNT_ID: ***
PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
CLOUDFLARE_API_TOKEN: ***
npm warn exec The following package was not found and will be installed: wrangler@4.89.1

⛅️ wrangler 4.89.1
───────────────────
Getting User settings...

✘ [ERROR] A request to the Cloudflare API (/memberships) failed.

Authentication failed (status: 400) [code: 9106]

If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose

🪵 Logs were written to "/home/runner/.config/.wrangler/logs/wrangler-2026-05-07_16-57-58_741.log"
Error: Process completed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions