cloudflare / cloudflare/workers-sdk

Unable to Create a New Queue Subscription After Deleting the Previous One

Open
#15,340 1 comment 0 reactions 0 assignees View on GitHub
product:queues
Dominant language
TypeScript
Stars
4.5k
Forks
1.5k
Avg merge
3d 8h
Merged PRs (30d)
187

Description

First, I created a queue subscription through the UI.

Image

After deleting the subscription, I tried to create a new one, but it fails with the following error:

> We currently do not support multiple subscriptions on the same resource.

I also tried creating the subscription using the CLI:

```bash
pnpm dlx wrangler queues subscription create my-queue --source r2 --events bucket.created
```

However, I get the same error from both the UI and CLI.

I'm not sure how to resolve this or whether the previous subscription is still being retained somewhere after deletion. Any help would be appreciated.

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure with the Wrangler command shown in the issue, then compare it with the UI flow after deleting the original subscription. Trace how queue subscription deletion is recorded and verify that creating a replacement subscription for the same R2 resource succeeds without the multiple-subscriptions error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.