circleci-cli icon indicating copy to clipboard operation
circleci-cli copied to clipboard

Error: config compilation request returned an error: Invalid input when adding org-slug

Open piotr-kowenzowski-asi opened this issue 1 year ago • 2 comments

Meta:

CircleCI CLI Version: 0.1.30995+77b1f51 (homebrew)

Operating System: MacOS Linux Checked multiple computers.

CircleCI CLI Diagnostic:

---
CircleCI CLI Diagnostics
---
Debugger mode: false
Config found: /Users/sacherus/.circleci/cli.yml
API host: https://circleci.com
API endpoint: graphql-unstable
OK, got a token.
Trying an introspection query on API...
Ok.

Current behavior:

circleci local execute run_tests -c .circleci/config.yml --org-slug github/{NAME} Error: config compilation request returned an error: Invalid input.

It happens only when adding org-slug. It doesn't work with any, even dummy config.yml.

Expected behavior:

It should work.

When did this begin / Was this previously working?:

It worked maybe 4 years ago.

piotr-kowenzowski-asi avatar Oct 11 '24 14:10 piotr-kowenzowski-asi

Same issue for me. Without the --org-slug I get errors about private orbs and with the param it doesn't work. Meaning I can't use the CLI at all at work

cideM avatar Feb 24 '25 07:02 cideM

you need 1st to export the config

circleci --org-slug <org_slug> config process .circleci/config.yml > process.yml

then, you can run locally without the org slug

circleci local execute -c process.yml <job>

micaelmalta avatar Mar 01 '25 16:03 micaelmalta