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

Buildkite CLI returns 422 on "failed validation" but doesn't give me any actionable information. #393

Open
ccuadrado-buildkite opened this issue Nov 5, 2024 · 1 comment

Comments

@ccuadrado-buildkite
Copy link

Some parts redacted for security:

❯ bk pipeline create
? Name: packages-demo
? Description: Create some demos for Packages
? Choose a repository: https://github.com/<user>/<my-repo>.git

 Pipeline created:

Error: POST https://api.buildkite.com/v2/organizations/<my_slug>/pipelines: 422 Validation Failed
Usage:
  bk pipeline create

Flags:
  -h, --help   help for create

Would be great if we could get further feedback on which validation(s) failed. I was able to create the pipeline via the GUI successfully after this execution.

@mcncl
Copy link
Contributor

mcncl commented Nov 5, 2024

Thanks @ccuadrado-buildkite!

Are you able to share the version of the CLI you're using and the environment it's running in? Assuming MacOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants