All error codes

task_not_found

HTTP 404 Task not found

What happened

The task id is not a task of this project - it was never issued, or it belongs to another project. A momentary failure to read the task record answers the same way, so a single 404 is not proof the task never existed. An id that is not 32 hexadecimal characters never reaches this endpoint and answers not_found instead.

What to do

If you have just received the id, check it was copied whole, then poll again. Otherwise stop polling and read the resource itself to see whether the operation took effect - a missing task record is not evidence that the operation failed.

Retrying

Repeating this request will not help.

How it arrives

{
    "type": "https://docs.fiberax.com/errors/task_not_found",
    "title": "Task not found",
    "status": 404,
    "code": "task_not_found",
    "request_id": "a277dcd1ca652c65"
}

Branch your code on code, never on the wording of title.