-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
Confirm this is a Typescript library issue and not an underlying Cloudflare API issue
- This is an issue with the Typescript library
Describe the bug
I get the following error when I try to use workers.scripts.scriptAndVersionSettings.edit
" Error: 400 {"result":null,"success":false,"errors":[{"code":10201,"message":"Missing settings part in multipart upload. Ensure you include a settings part in the upload."}],"messages":[]}"
I do not get this message when I use the HTTP API. I get an ok esponse as expected
To Reproduce
- Do following code snippet
Code snippets
await cloudflareClient.workers.scripts.scriptAndVersionSettings.edit(scriptName, {
account_id: env.CLOUDFLARE_ACCOUNT_ID,
settings: {
bindings: [
{
name: 'XXX',
text: 'XXX',
type: 'secret_text',
},
],
},
});
OS
macOs
Runtime version
Typescript 5.8.3
Library version
4.3.0
Metadata
Metadata
Assignees
Labels
No labels