Comments (13)
I'm also seeing this on mac os since the upgrade
from circleci-cli.
Also having issues on mac os with this update
from circleci-cli.
@max-elastics thanks for reporting this.
And thanks @willm @fszymanski-blvd for confirming the issue
Could you please try the same command by adding a token in the end
circleci config validate --token YOUR_CIRCLECI_TOKEN
from circleci-cli.
Could you please try the same command by adding a token in the end
circleci config validate --token YOUR_CIRCLECI_TOKEN
I generated a new token and tested and this seems to work. It's odd that it worked immediately before upgrading without passing the token.
from circleci-cli.
Continuing the test, it looks like I had a token set in the cli.yml but it must have been either invalidated or the format of the token changed. The new token looked different and after re-running circleci setup
using the new token the command works fine.
from circleci-cli.
@fszymanski-blvd thanks for your answer
you can check if your token is valid by doing a GET
request to https://circleci.com/api/v2/me
with a Circle-Token
header containing your token
doc :
https://circleci.com/docs/api/v2/index.html#operation/getCurrentUser
from circleci-cli.
@abdelDriowya before now i've been using the cli's function circleci config validate
and dont believe i've ever set a token or run circleci setup
. When i go to view my "Personal API Tokens" it is empty.
Note: I do have a token defined in ~/.circleci/cli.yml
but dont believe i ever set it up, and suspect this is some kind of default??? π€·
from circleci-cli.
curl -v -o /dev/null -H 'Circle-Token: XXXX' https://circleci.com/docs/api/v2/index.html#operation/getCurrentUse
works, I got a 200, but I add to remove the token from cli.yml to get circleci config validate
.
My cli version:
$ circleci version
0.1.28434+5523658 (homebrew)
from circleci-cli.
I had the same issue and I solved by creating a new token and updating via circleci setup
.
from circleci-cli.
@MrSwitch we don't have any default value. you can verify it's your token by doing a GET
request to https://circleci.com/api/v2/me
with a Circle-Token
header containing your token
from circleci-cli.
@MrSwitch it's possible that your token was revoked during the security incident if you setup it before
from circleci-cli.
The cli should not return a cryptic error message but an access denied if itβs linked.
from circleci-cli.
passing the token circleci config validate --token YOUR_CIRCLECI_TOKEN
or configuring the token using circleci setup
solves this issues, I create a jira ticket to create more explicit error message.
I'll Close this issue, please open an issue if you still have this problem.
from circleci-cli.
Related Issues (20)
- Change `.circleci` home directory location with an Environment variable HOT 3
- Allow configuring http client timeout HOT 2
- [Feature Request] Add number of Active tasks in "runner instance list" command
- Wrong version of circleci inside local execution env HOT 2
- CircleCI Orb Init Error Misleading HOT 2
- Unable to start job with private images using `circleci local execute`
- docker: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /tmp/3966974312_circleci_config.yml. HOT 1
- IN1-GOLANG-GITHUBCOMCLOUDFLARECIRCLPKEKYBERINTERNALCOMMON-6150686 - github.com/cloudflare/circl
- CircleCI CLI policy test command missing timestamp in JUnit output HOT 2
- `circleci local execute` does not work with Docker for Desktop on OSX HOT 1
- Json unmarshall error HOT 2
- Error: Unable to validate config HOT 4
- Clarify `orb validate` and `config validate` scope of validation HOT 1
- Infinite install bug HOT 2
- Provide mac arm64 release asset
- unable to execute local job on mac m1 pro HOT 2
- ` local execute build` command fails when sidecar is present and using the latest docker version
- circleci config pack command is not working with latest version (v0.1.28363) HOT 2
- Orb validation fails HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from circleci-cli.