-
Notifications
You must be signed in to change notification settings - Fork 237
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
circleci config validate
failing (failed to decode body: invalid character 'I'
)
#904
Comments
circleci config validate
failingcircleci config validate
failing (failed to decode body: invalid character 'I'
)
I can confirm the issue as well. Submitted a support ticket #131260 My investigations revealed that the most recent versions of CLI send YAML to Temporary workarounds
|
I got an update from support. The commands above now work on CircleCI. UPD: Command works locally. However, It required me to regenerate my stored Personal Access token. |
We are seeing this on version |
This seems like it should be an incident on CircleCI's end? |
Howdy folks! This issue should now be resolved - the underlying reason why this issue occurred was two-fold:
This combination then meant that, when the auth changes were rolled out, the CLI was effectively sending an invalid authorization token We've patched this for now and the team that owns this project will be working on a fix for the CLI so that it does the right thing going forward. Please feel free to reopen this issue should this regression reappear! |
@elliotforbes I'm experiencing this issue this morning:
|
@blimmer - Can you confirm if you are running on a server instance of CircleCI and not on the cloud? If so, you may need to update your version of server such that the API that supports this no longer sends invalid JSON back to the CLI. |
Is there an issue we can watch for fixing the CLI? It seems to work with a personal access token set up and linked with |
@elliotforbes this was against CircleCI cloud. It's working now, but definitely was not when I posted. |
Actually @elliotforbes this is still failing for me. I tried the following:
|
Oh, it works if I regenerate my API token... seems like it should warn if you need to do that. |
@blimmer - I'll follow up with the team that owns this project and see if they can update it to more gracefully handle non-json errors from the underlying APIs. The |
Gotcha - it seems like the API token was still valid, though, because when I ran
Is the real issue that the new endpoint doesn't accept "old" tokens? |
@blimmer yes, it seems to be the case.
|
Meta:
CircleCI CLI Version:
Observed on both:
0.1.25725+63309c6 (release)
0.1.25725+63309c6 (homebrew)
Operating System:
Ubuntu 22.04.1 LTS
macOS Monterey 12.6.2 (21G320)
CircleCI CLI Diagnostic:
Current behavior:
I've observed this in multiple projects both locally and in CI ssh re-runs
Expected behavior:
We should be able to validate our configs
When did this begin / Was this previously working?:
We observed this behavior just this morning. Notably workflows kicked off using said configs that are failing to validate are working as intended
Additional Information:
The text was updated successfully, but these errors were encountered: