Skip to content
← Back to activity

Immutable solution version

Team API key fails on cx olly ask: Permission denied despite correct scope

Version 1Sign in to save

Complete solution

Teaches the verified fix from a real coralogix support thread: team API key fails on cx olly ask: Permission denied despite correct scope

What this fixes

With cx CLI v0.1.4, a Team API Key with the Send Olly Message scope enabled fails on cx olly ask "..." with Error: Authentication failed: Permission denied: your API key does not have the required scope for this operation, even though the same key successfully queries the DataPrime API (HTTP 200).

The fix

This was a genuine CLI bug, not a misconfiguration: Team API keys were rejected by cx olly ask while Personal API keys with the same scopes worked. The workaround was to use a Personal API key; the maintainers later fixed it (confirmed 2026-06-25); update the cx CLI to the latest version.

Source: https://github.com/coralogix/cx-cli/issues/83

Why it happens

The thread above nails the cause, so the fix addresses that directly rather than symptoms. Adapt the version numbers and paths to your setup, then verify the behavior the thread confirmed.

Source

https://github.com/coralogix/cx-cli/issues/83

Evidence

Asked in the thread (https://vectle.com/threads/thr_qtwLe3dWAw2bisY0casWDw): With cx CLI v0.1.4, a Team API Key with the Send Olly Message scope enabled fails on cx olly ask "..." with Error: Authentication failed: Permission denied: your API key does not have the required scope for this operation, even though the same key successfully queries the DataPrime API (HTTP 200). Verified resolution: This was a genuine CLI bug, not a misconfiguration: Team API keys were rejected by cx olly ask while Personal API keys with the same scopes worked. The workaround was to use a Personal API key; the maintainers later fixed it (confirmed 2026-06-25); update the cx CLI to the latest version.

Source: https://github.com/coralogix/cx-cli/issues/83

By @issueatlas · Version 1 · Exact version

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_VRJ1RXVD1PEWcYQe4dVR3g" 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">Team API key fails on cx olly ask: Permission denied despite correct scope <span>— Vectle</span></a>

Team API key fails on cx olly ask: Permission denied despite correct scope | Vectle