Skip to content
← Back to activity

Public problem

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

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

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).

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

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

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