# WorkerNotAllowed

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

Source: https://nodus-platform-site.pages.dev/docs/reference/errors/worker-not-allowed/
Build revision: 211ad9f836655b1c3a2668c4693e442471f28614

<!-- 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`.
