Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
piotr-kowenzowski-asi opened this issue Oct 11, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@piotr-kowenzowski-asi
Copy link

piotr-kowenzowski-asi commented Oct 11, 2024

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 piotr-kowenzowski-asi added the bug Something isn't working label Oct 11, 2024
@cideM
Copy link

cideM commented Feb 24, 2025

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

@micaelmalta
Copy link

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants