assets permission
Cloudflare Docs
API token permissions
Permissions are segmented into three categories based on resource:
8 Replies
You would need Workers Edit
Which one ? ๐ I already have edit on worker scripts

okay I figured it out ... I thought I could skip the manifest and only do direct uploads, but I can't ๐
Should have read the docs fully ๐
but now I get a empty response without any JWT and no error after the file upload step ....
I get a 202 status code, but expect 200.
Also no JWT completion token in response. My code seems to match this the example code https://developers.cloudflare.com/workers/static-assets/direct-upload/#programmatic-example
oh maybe this is why https://github.com/cloudflare/cloudflare-go/issues/4196
GitHub
Uploading worker assets doesn't work (no completion token) ยท Issue...
Confirm this is a Go library issue and not an underlying Cloudflare API issue This is an issue with the Go library Describe the bug I'm trying to use the SDK to upload assets to a worker. Howev...
Yeah ... that fixes it, I spend our debugging this ...
You just needed to update cloudflare-go?
no, I don't won't to update to a unreleased version. I just implemented it without going through that library.