Error: config compilation request returned an error: Invalid input when adding org-slug
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.
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
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>