But it doesn't succeed. I get the following error in the runner:
/usr/local/bin/npx wrangler deploy ⛅️ wrangler 3.13.2 (update available 3.78.2) --------------------------------------------- Your worker has access to the following bindings: - R2 Buckets: - APP_BUCKET: foo Total Upload: 1.72 KiB / gzip: 0.72 KiB ✘ [ERROR] A request to the Cloudflare API (/accounts/***/workers/scripts/foo) failed. workers.api.error.bucket_not_found [code: 10085] If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose
/usr/local/bin/npx wrangler deploy ⛅️ wrangler 3.13.2 (update available 3.78.2) --------------------------------------------- Your worker has access to the following bindings: - R2 Buckets: - APP_BUCKET: foo Total Upload: 1.72 KiB / gzip: 0.72 KiB ✘ [ERROR] A request to the Cloudflare API (/accounts/***/workers/scripts/foo) failed. workers.api.error.bucket_not_found [code: 10085] If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose
The API token being used has the following permissions:
This API token will affect the below accounts and zones, along with their respective permissions<Account Name> - Cloudflare Pages:Edit, Workers R2 Storage:Edit, Workers Tail:Read, Workers KV Storage:Edit, Workers Scripts:Edit, Account Settings:ReadAll zones - Workers Routes:EditAll users - Memberships:Read, User Details:Read
This API token will affect the below accounts and zones, along with their respective permissions<Account Name> - Cloudflare Pages:Edit, Workers R2 Storage:Edit, Workers Tail:Read, Workers KV Storage:Edit, Workers Scripts:Edit, Account Settings:ReadAll zones - Workers Routes:EditAll users - Memberships:Read, User Details:Read
Can anyone help me out on this?
foo
foo
is just a dummy name. I'm using the actual name which is shown in the website (and also in the S3 URL).