#Wrangler deploy missing permissions to read account

11 messages ยท Page 1 of 1 (latest)

wide cairn
#

I'm trying to deploy a very basic project.

wrangler.jsonc:

{
    "$schema": "node_modules/wrangler/config-schema.json",
    "name": "**********",
    "main": "src/index.ts",
    "compatibility_date": "2025-02-14",
    "observability": {
        "enabled": true
    },
    // "triggers": {
    //     "crons": ["* * * * *"]
    // },
    /**
     * Smart Placement
     * Docs: https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement
     */
    // "placement": { "mode": "smart" },

    /**
     * Bindings
     * Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including
     * databases, object storage, AI inference, real-time communication and more.
     * https://developers.cloudflare.com/workers/runtime-apis/bindings/
     */
    "browser": {
        "binding": "BROWSER"
    }
}

The console suggests to set the User->User Details->Read permission, but that doesn't even exist in the API token permissions ๐Ÿค” I'm lost which permission is missing.

#

These are the permissions of the API token

celest dagger
#

The API permission is there

wide cairn
#

Omfg facepalm

#

Yeah I see it now ๐Ÿ˜„

celest dagger
#

For this issue, looks like you're missing Workers Edit

wide cairn
#

Workers Scripts and then Edit?

celest dagger
#

yep

wide cairn
#

Cool, let me check ๐Ÿ™‚

#

Yeah it works now party_blob