Troubleshooting CircleCI runner issue /api/v3/runner/claim was 401 (Unauthorized)

When your runner job is queuing you should check your logs.

For container runner, you will find the container agent pod to have an error log of:
error=Error calling CircleCI: the response from POST /api/v3/runner/claim was 401 (Unauthorized) (1 attempts)
mode=agent result=error service.name=container-agent service_name=container-agent
For machine runner, you will see a similar log of:
RRO[0016] error running task
error="unexpected error claiming task: server supplied detail: invalid bearer token (401-Unauthorized)"

Solutions

To be able to resolve this issue if you should change your API token by generating a new token and updating it within your values.yaml

Outcome

You should no longer see your jobs queuing without starting.

Was this article helpful?
0 out of 3 found this helpful

Comments

0 comments

Article is closed for comments.