Python 3.9 is now generally available.

google.appengine.api.taskqueue.BadTaskStateError

The task is in the wrong state for the requested operation.

Inherits From: Error, expected_type