Possibly a kernel issue with your image:
The endpoint for tasks is GET /api/system/task.
/api/system/task