Alejandro Mery
Alejandro Mery
Explore posts from servers
CDCloudflare Developers
Created by Alejandro Mery on 5/22/2024 in #workers-help
can't deploy example
until now I've used the github integration, but I wanted to start a mono-repo and created a dummy project using pnpm create cloudflare. unfortunatelly wrangler login gets stuck on consent and when trying an API token it just says I don't have the correct permissions (very unuseful) wrangler login gets stuck on the consent page, maybe related to a this CORS error?
Access to manifest at 'https://consent.dash.cloudflare.com/manifest.json' from origin 'https://dash.cloudflare.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
consent.dash.cloudflare.com/manifest.json:1
Failed to load resource: net::ERR_FAILED
consent-form:1 Access to internal resource at 'https://consent.dash.cloudflare.com/manifest.json' from origin 'https://dash.cloudflare.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Access to manifest at 'https://consent.dash.cloudflare.com/manifest.json' from origin 'https://dash.cloudflare.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
consent.dash.cloudflare.com/manifest.json:1
Failed to load resource: net::ERR_FAILED
consent-form:1 Access to internal resource at 'https://consent.dash.cloudflare.com/manifest.json' from origin 'https://dash.cloudflare.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
until it times out while the [allow] button waits... then I tried using a an API Token with * Cloudflare Pages:Edit * Workers KV Storage:Edit * User Details:Read but I get slapped with an unhelpful Authentication error [code: 10000] Please ensure it has the correct permissions for this operation. what could I be missing?
5 replies