Unique Cloud Task names cannot be reused

41 views
Skip to first unread message

thstart

unread,
Jan 12, 2019, 2:18:21 PM1/12/19
to Google App Engine
I created Cloud Task with unique name in order to guarantee just
one time execution if successful.

Created it using API. Tried to execute again after 2 hours but the message I got is I cannot use the same name
because it was already used recently.


From the documentation:

    If the task's queue was created using Cloud Tasks, then another task with

    the same name can't be created for ~1hour after the original task was

    deleted or executed. If the task's queue was created using queue.yaml or

    queue.xml, then another task with the same name can't be created

    for ~9days after the original task was deleted or executed.


I am expecting to re-use the name after 2 hours, what is wrong?    

Elliott (Google Cloud Platform Support)

unread,
Jan 18, 2019, 4:27:03 PM1/18/19
to Google App Engine

Hello,


Was the original task completed or deleted before you send another one with the same name? If not, you will receive the error you described.  


If the task has been completed or deleted and you still receive the error, please complete an Issue Tracker form so that we may investigate this issue internally.


Note that Google Groups are reserved for general Google Cloud Platform-end product discussions and not for reporting issues, which is why I suggested moving the troubleshooting to Issue Tracker.


Reply all
Reply to author
Forward
0 new messages