Cloudflare DevelopersCD
Cloudflare Developers8mo ago
3 replies
Jacob

Secrets Store Bug on Worker

I added this to my jsonc:

    "secrets_store_secrets": [
        {
            "binding": "BLUE_UPSTASH_REDIS_REST_URL",
            "store_id": "123",
            "secret_name": "BLUE_UPSTASH_REDIS_REST_URL"
        },
        {
            "binding": "BLUE_UPSTASH_REDIS_REST_TOKEN",
            "store_id": "123",
            "secret_name": "BLUE_UPSTASH_REDIS_REST_TOKEN"
        }
    ],


Got this error:

17:34:23.216    - Secrets Store Secrets:
17:34:23.216      - BLUE_UPSTASH_REDIS_REST_URL: 123/BLUE_UPSTASH_REDIS_REST_URL
17:34:23.216      - BLUE_UPSTASH_REDIS_REST_TOKEN: 123/BLUE_UPSTASH_REDIS_REST_TOKEN
17:34:23.222    
17:34:23.223    ✘ [ERROR] A request to the Cloudflare API (/accounts/333/workers/scripts/blue/versions) failed.
17:34:23.224    
17:34:23.224      failed to fetch secrets store binding due to authorization error - check deploy permissions and secret scopes [code: 10021]
17:34:23.224      
17:34:23.224      If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose
Was this page helpful?