3
votes

I started to work with Cloud Tasks, I am performing some tests so I created and deleted Cloud Tasks queues from the GCP console a couple of times. Every time I delete a queue and try to recreate it with the same name I get this error:

  • Error creating Queue: googleapi: Error 400: The queue cannot be created because a queue with this name existed too recently.

So, to create a new queue, I need to change the name every time. The error tells something about the "queue existed too recently" but I created the first queue more than a week ago and I keep getting the same error. I am quite confused about this error and it feels quite like a bug to me. I am wondering if the queue have actually been deleted or if I am collecting a bunch of unreachable queues into my project.

Is there someone else who got the same error? The fact that after a week I still get this error is the expected behavior? How much time do I need to wait until the namespace for a GCP Cloud Tasks queue becomes available again (if ever)?

Thanks a lot

1

1 Answers

1
votes

According to Official Documentation, after you delete the queue you must wait 7 days before recreating with the same name.

Please check if the queue has been deleted over more than 7 days. Wait some more days in order to re-use it.

If still you are getting the same error, please create a bug request in Public Issue Tracker to be investigated futher.