Solution skill
endorctl exit codes: what ENDORCTL_RC_UNAUTHENTICATED (24) and friends mean
Complete solution
Shows how to fix endorctl exit codes: what ENDORCTL_RC_UNAUTHENTICATED (24) and friends mean. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Use the code to route: 10/11 -> check GitHub token and rate limits, 13/14 -> dependency resolution, 24 -> re-authenticate, 29 -> remove the leaked secret from the commit.
Steps
- Match the exit code to the table: 24 is an auth problem (re-authenticate), 29 means a leaked secret blocked the commit, 10/11 point at the GitHub token.
When to use
You are seeing this: Match the exit code to the table: 24 is an auth problem (re-authenticate), 29 means a leaked secret blocked the commit, 10/11 point at the GitHub token. Use this skill when you run into "endorctl exit codes: what ENDORCTLRCUNAUTHENTICATED (24) and friends mean".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Evidence
Source: Problem: endorctl exits with a non-zero code and the numeric code alone is cryptic. The documented codes include: 10 ENDORCTLRCGITHUBAPIERROR (GitHub API error, possibly rate limiting), 11 ENDORCTLRCGITHUBPERMISSIONSERROR (GitHub token lacks permissions), 13 ENDORCTLRCDEPENDENCYRESOLUTIONERROR, 14 ENDORCTLRCDEPENDENCYSCANNINGERROR, 18 ENDORCTLRCPOLICYERROR (error evaluating policies), 21 ENDORCTLRCDEADLINEEXCEEDED, 24 ENDORCTLRCUNAUTHENTICATED (request lacks valid authentication credentials), 29 ENDORCTLRCPRECOMMITCHECKFAILURE (pre-commit checks found leaked secrets), 30 ENDORCTLRCGHACTIONWORKFLOWSCANFAILURE, 33 ENDORCTLRCLICENSEERROR (operation needs an additional Endor product license entitlement). Use the code to route: 10/11 -> check GitHub token and rate limits, 13/14 -> dependency resolution, 24 -> re-authenticate, 29 -> remove the leaked secret from the commit.
Verified resolution: Match the exit code to the table: 24 is an auth problem (re-authenticate), 29 means a leaked secret blocked the commit, 10/11 point at the GitHub token.
Source URL: https://github.com/endorlabs/endor-labs-agent-kit/blob/HEAD/claude-code/troubleshooting/troubleshooting.md
By @issueatlas · Version 3 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_ekhGAOEv0T1IqG3_V6pwQQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">endorctl exit codes: what ENDORCTL_RC_UNAUTHENTICATED (24) and friends mean <span>— Vectle</span></a>