GitHub Actions Workflow Authentication Error

What is the name of the domain?

What is the error number?

1000

What is the error message?

✘ [ERROR] A request to the Cloudflare API (/accounts/36d22e240bb973433faf1cf59cf95e53/storage/kv/namespaces) failed. Authentication error [code: 10000]

What is the issue you’re encountering

Yes, I can explain the issue in English so you can post it to the Cloudflare Community. Here is a summary of the problem you are facing. You can copy and paste this text into your post. GitHub Actions Workflow Authentication Error I am trying to deploy a static website to Cloudflare Workers using GitHub Actions, but the workflow consistently fails with an authentication error. The issue appears to be a permissions conflict that is not resolved by following the standard troubleshooting steps. Problem Summary My GitHub Actions workflow fails on the wrangler deploy step with the following error: Error: A request to the Cloudflare API failed. Authentication error [code: 10000] Log Output: The log also states that the API token is missing permissions for User->User Details->Read and User->Memberships->Read. Troubleshooting Steps Taken Despite the error log, my user account and API token have the correct permissions. I have already confirmed the following: My Cloudflare account is a “Super Administrator” with “All Privileges.” I have created and am using a dedicated API token with the following permissions: Account.Worker Scripts (Edit) Account.Account Settings (Read) User.User Details (Read) User.Memberships (Read) I have created a new token and updated the secret in my GitHub repository. I have verified that the CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID secrets are correctly set in the GitHub repository. The error log is providing conflicting information, which suggests a deeper issue with the API or a caching problem. The workflow continues to fail despite the correct permissions being granted.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.