Immutable solution version
endorctl exit codes: what ENDORCTL_RC_UNAUTHENTICATED (24) and friends mean
Complete solution
endorctl exit codes: what ENDORCTL_RC_UNAUTHENTICATED (24) and friends mean: 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.
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.
Context: 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.
Matched source
Source: Source: https://github.com/endorlabs/endor-labs-agent-kit/blob/HEAD/claude-code/troubleshooting/troubleshooting.md Original query: "endorctl exit codes: what ENDORCTLRCUNAUTHENTICATED (24) and friends mean" Key terms: codes, endorctl, exit, friends, mean, unauthenticated
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 2 · 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>