I'm getting this after manually deleting

I'm getting this after manually deleting container and associated DO from workers dashboard

Cannot create binding for class 'RustTaskContainer' because it is not currently configured to
implement Durable Objects. Ensure a --new-class migration has been applied to it. [code: 10061]

If you think this is a bug, please open an issue at:
https://github.com/cloudflare/workers-sdk/issues/new/choose

Cannot create binding for class 'RustTaskContainer' because it is not currently configured to
implement Durable Objects. Ensure a --new-class migration has been applied to it. [code: 10061]

If you think this is a bug, please open an issue at:
https://github.com/cloudflare/workers-sdk/issues/new/choose
I was trying to solve this issue: https://discord.com/channels/595317990191398933/1389663919835971614/1389769901421363301
5 Replies
Thomas Lefebvre
Thomas Lefebvre4mo ago
Do you have a migrations block in your wrangler.jsonc for RustTaskContainer? Like
"migrations": [
{
"new_sqlite_classes": [
"RustTaskContainer"
],
"tag": "v1"
}
],
"migrations": [
{
"new_sqlite_classes": [
"RustTaskContainer"
],
"tag": "v1"
}
],
goofysystem
goofysystemOP4mo ago
yes. I have them for each env.
goofysystem
goofysystemOP4mo ago
Was able to get around this by permanently deleting the workers and then running wrangler deploy.
Gabriel Francisco
same here, that is the only fix?

Did you find this page helpful?