Reference
TASK_NOT_FOUND
Task not found
Task not found
HTTP status 404 Not Found, code TASK_NOT_FOUND.
What it means#
There is no task with that id that you can read. A task belongs to the account it is for, or to the organisation, and you read it only with tasks.read on that account (the organisation's own at :all); a task you cannot read answers this rather than 403, so its id says nothing about whether it exists.
What to do#
Check the id, and that your role reads tasks for the account the task is for.
On the wire#
Every error response carrying this code names this page in error.moreInfo,
with the request id in the query string. See Error codes for
the response shape and the list of every code.