Wrangler script POST Request API fails on `/workers/scripts/dev/versions`

Hey everyone 👋 Aurélien from Liveblocks here, We are currently experiencing an issue with our Wrangler script when it makes a POST request to: https://api.cloudflare.com/client/v4/accounts/************/workers/scripts/dev/versions . The endpoint returns a 500 HTTP status with the corresponding response:
-- START CF API REQUEST: POST https://api.cloudflare.com/client/v4/accounts/************/workers/scripts/dev/versions
HEADERS: {
"User-Agent": "wrangler/3.91.0"
}
INIT: {
"method": "POST",
"body": {}
}
BODY:
<all of our JS bundles' code here>
-- END CF API REQUEST

-- START CF API RESPONSE: Internal Server Error 500
HEADERS: {
"cf-auditlog-id": "0193f32d-b793-752a-a29d-4b83295ce968",
"cf-cache-status": "DYNAMIC",
"cf-ray": "8f67da5dab8c66cf-AMS",
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "application/json; charset=UTF-8",
"date": "Mon, 23 Dec 2024 11:01:22 GMT",
"server": "cloudflare",
"set-cookie": "__cfruid=[REDACTED]; path=/; domain=.api.cloudflare.com; HttpOnly; Secure; SameSite=None",
"transfer-encoding": "chunked",
"vary": "Accept-Encoding"
}
RESPONSE: {
"result": null,
"success": false,
"errors": [
{
"code": 10002,
"message": "An unknown error has occured. If this error persists, please file a report in the workers-sdk GitHub repository (https://github.com/cloudflare/workers-sdk/issues) or reach out to your account team."
}
],
"messages": []
}

-- END CF API RESPONSE
-- START CF API REQUEST: POST https://api.cloudflare.com/client/v4/accounts/************/workers/scripts/dev/versions
HEADERS: {
"User-Agent": "wrangler/3.91.0"
}
INIT: {
"method": "POST",
"body": {}
}
BODY:
<all of our JS bundles' code here>
-- END CF API REQUEST

-- START CF API RESPONSE: Internal Server Error 500
HEADERS: {
"cf-auditlog-id": "0193f32d-b793-752a-a29d-4b83295ce968",
"cf-cache-status": "DYNAMIC",
"cf-ray": "8f67da5dab8c66cf-AMS",
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "application/json; charset=UTF-8",
"date": "Mon, 23 Dec 2024 11:01:22 GMT",
"server": "cloudflare",
"set-cookie": "__cfruid=[REDACTED]; path=/; domain=.api.cloudflare.com; HttpOnly; Secure; SameSite=None",
"transfer-encoding": "chunked",
"vary": "Accept-Encoding"
}
RESPONSE: {
"result": null,
"success": false,
"errors": [
{
"code": 10002,
"message": "An unknown error has occured. If this error persists, please file a report in the workers-sdk GitHub repository (https://github.com/cloudflare/workers-sdk/issues) or reach out to your account team."
}
],
"messages": []
}

-- END CF API RESPONSE
This error is persisting from days now and we're not able deploy anymore in our DEV environment. Is there a way to fix it or are you currently working on a fix? LMK if you need more insight from me. Thanks, Aurélien
8 Replies
Walshy
Walshy•2mo ago
What's your account ID? It isn't sensitive and can be shared.
Aurélien Dupays Dexemple 🚀
Hi @Walshy Our account ID is: 88d437c36ff92a24a6e51bbbf0171749
Walshy
Walshy•2mo ago
The issue is same as https://github.com/cloudflare/workers-sdk/issues/7538 - sorry about this I have already pinged the team over it but not sure yet why it's happening - will followup with them
Aurélien Dupays Dexemple 🚀
All right! Thanks 🙏
Walshy
Walshy•2mo ago
hey, we've deployed some additional logging - could you please retry so we can hopefully collect some more info on the failure? cc: @texan
Aurélien Dupays Dexemple 🚀
Hey @Walshy | OOO ! Sure! Oh I just saw your message on the email thread abour R2 subscription. Do you still need to collect more logs?
Walshy
Walshy•2mo ago
Nah we got the info needed now, you'll need an r2 sub and you should be good 🙂 Hoping to ship a proper error message for this today
Aurélien Dupays Dexemple 🚀
All right! Thanks 🙏

Did you find this page helpful?