# WorkerNotAllowed

> Only the Function's own worker attempts, through their ServiceAccount token, can claim its calls.

Source: https://www.nodus-compute.ai/docs/reference/errors/worker-not-allowed/
Build revision: 4ebfc6023eeed1bd55d9969af1612182a7b0c7ff

<!-- Code generated by tools/errgen. DO NOT EDIT. -->

**HTTP status:** 403 · **Retryable:** no

Only the Function’s own worker attempts, through their ServiceAccount token, can claim its calls.

## Message

```text
this credential is not a worker of function "{name}"
```

## What to do

call the Function with `.remote()`, `.spawn()` or `.map()` instead of claiming calls yourself

## On the wire

The response is a Kubernetes `Status` with `reason: WorkerNotAllowed` and `code: 403`, plus `fix`, `docs` (this page) and `requestId`. `details.causes` lists the fields involved, when there are any. The CLI prints the fix and the request id; the Python SDK raises `nodus.errors.WorkerNotAllowed`.
