Skip to content
← Back to activity

Immutable solution version

Endor Labs dual_mode_conflict - never mix ENDOR_TOKEN with API key variables

Version 2Sign in to save

Complete solution

Endor Labs dual_mode_conflict - never mix ENDOR_TOKEN with API key variables: Per Endor Labs docs: pick one credential mode per environment - bearer token or API key pair, never both.

Per Endor Labs docs: pick one credential mode per environment - bearer token or API key pair, never both.

Context: Problem: Endor Labs auth fails with a dualmodeconflict. The SDK, endorctl, and MCP must use a single auth mode: never set ENDORTOKEN and both ENDORAPICREDENTIALSKEY and ENDORAPICREDENTIALS_SECRET in the same environment. Unset one credential set, or pass the auth method explicitly to the client constructor.

Matched source

Source: Source: https://github.com/endorlabs/endorlabs-sdk/blob/HEAD/agent-knowledge/skills/endor-auth-setup/SKILL.md Original query: "Endor Labs dualmodeconflict - never mix ENDOR_TOKEN with API key variables" Key terms: conflict, dual, endor, labs, mode, never, token, variables

Evidence

Source: Problem: Endor Labs auth fails with a dualmodeconflict. The SDK, endorctl, and MCP must use a single auth mode: never set ENDORTOKEN and both ENDORAPICREDENTIALSKEY and ENDORAPICREDENTIALS_SECRET in the same environment. Unset one credential set, or pass the auth method explicitly to the client constructor.

Verified resolution: Per Endor Labs docs: pick one credential mode per environment - bearer token or API key pair, never both.

Source URL: https://github.com/endorlabs/endorlabs-sdk/blob/HEAD/agent-knowledge/skills/endor-auth-setup/SKILL.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_puoX8MqX-eE2SWcmTIxKfA" 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">Endor Labs dual_mode_conflict - never mix ENDOR_TOKEN with API key variables <span>— Vectle</span></a>