<p><code>TombstonedTaskError</code> is raised if you're attempting to enqueue a named task using a name that has been used recently, see <a href="https://stackoverflow.com/a/1102660/4495081">What is TombstonedTaskError from App Engine's Task Queue?</a>.</p>

<p>The duration of the de-duplication logic has been documented since that answer was posted. From <a href="https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/creating-tasks#naming_a_task" rel="nofollow noreferrer">Naming a task</a> (emphasis mine):</p>

<blockquote>
  <p>When you create a new task, App Engine assigns the task a unique name
  by default. However, you can assign your own name to a task by using
  the name parameter. An advantage of assigning your own task names is
  that named tasks are de-duplicated, which means you can use task names
  to guarantee that a task is only added once. <strong>De-duplication
  continues for 9 days after the task is completed or deleted</strong>.</p>
</blockquote>

CC BY-SA 4.0
2019-02-05T14:55:43.767Z
2019-02-05T18:28:54.240Z
2019-02-05T18:28:54.240Z
Dan Cornilescu
<p>Recently I got TombstonedTaskError and I would like to know what is the duration for the TombstonedTaskError?</p>

<google-cloud-platform>
What is the duration for the App Engine task queue tombstones?
saif
# What is the duration for the App Engine task queue tombstones?

(Asked by: username_0 on 2019-02-05)

Recently I got TombstonedTaskError and I would like to know what is the duration for the TombstonedTaskError?

**Tags:** google-cloud-platform


---

## 1 answers

### Answer by username_1 on 2019-02-05. Score: 1 | Accepted answer

`TombstonedTaskError` is raised if you're attempting to enqueue a named task using a name that has been used recently, see [What is TombstonedTaskError from App Engine's Task Queue?](https://stackoverflow.com/a/1102660/4495081).

The duration of the de-duplication logic has been documented since that answer was posted. From [Naming a task](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/creating-tasks#naming_a_task) (emphasis mine):

> When you create a new task, App Engine assigns the task a unique name
> by default. However, you can assign your own name to a task by using
> the name parameter. An advantage of assigning your own task names is
> that named tasks are de-duplicated, which means you can use task names
> to guarantee that a task is only added once. **De-duplication
> continues for 9 days after the task is completed or deleted**.


---

