fix: Cloud missing_config should name config context add
Maintainers usually reply within 1 day
@margaretjgu is already working on this.
Since Sep 22, 2026.
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 88/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
Research direction
Start in src/lib/cloud-client.ts, where the missing Cloud block and missing api_key use the incorrect guidance. Run elastic cloud orgs list-organizations --json with Cloud unset on a context, then verify error.message names elastic config context add and --cloud-api-key and contains no config set.
Written by the indexing model from the issue text.
Description
src/lib/cloud-client.ts tells users to elastic config set. That command is config current-context set. Cloud setup is elastic config context add <name> --cloud-url … --cloud-api-key ….
Same string on missing Cloud block and missing api_key.
This is Cloud-specific. #631 covers the generic no-file path.
Acceptance: unset Cloud on a context, run elastic cloud orgs list-organizations --json. error.message names elastic config context add and --cloud-api-key. No config set.
- Dominant language
- TypeScript
- Stars
- 45
- Forks
- 26
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 67
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from elastic/cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Stale
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
bug: malformed JSON passed to --document (and other body object flags) silently passes validationOpenbug
Difficulty 3/5 1-2 days Newbie friendliness 74/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
external-issue to-triage
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
diegosouzapw/OmniRoute#15401 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
code-yeongyu/oh-my-openagent#9454 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
smart-village-solutions/sva-studio#1654 ·
Maintainers usually reply within 1 day