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

More explicit error message #22

Open
hcharley opened this issue Jun 7, 2019 · 5 comments
Open

More explicit error message #22

hcharley opened this issue Jun 7, 2019 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@hcharley
Copy link

hcharley commented Jun 7, 2019

Hi, when a CircleCI project can't be located by this provider, it might be helpful to improve this message to at least point out that the error is related to CircleCI. It took me a couple of minutes to realized that this error was related to Circle:

Error: 404: Project not found
@mrolla
Copy link
Owner

mrolla commented Jun 25, 2019

Thanks for the report @Charlex. This surely will addressed while I'll work on the client part (#17).

@mrolla mrolla self-assigned this Jun 25, 2019
@mrolla mrolla added the enhancement New feature or request label Jun 25, 2019
@DomWeldon
Copy link

@Charlex - did you get to the bottom of what was causing that error? I'm trying to debug why my configuration won't work and the only error I get is Error: 404: Project not found, although my token, organization, and project name are all correct (I've checked using curl directly on the API endpoint).

@hcharley
Copy link
Author

hcharley commented Jun 7, 2020

@DomWeldon Honestly I can’t remember any more. I think once I figured out that this error was related to terraform-provider-circle, then I was able to sort out whatever it was that was a causing the 404.

The only thing I can think of, is make sure you have the right VCS in the URL. I think they were putting /gh/ for github issues in the URL itself which might be causing some headache.

I will post here if I remember what it was.

@DomWeldon
Copy link

Thanks @Charlex . I've tried with gh instead of github but to no avail. The vcs string github also worked when I tried the CircleCI API using curl instead. Nothing in the TF_LOG=DEBUG output cast any light on it either sadly. I'll keep an eye on this issue and future versions to see if there's a fix. I'm not particularly familiar with Go unfortunately so may struggle to debug this one on my own at the moment.

@hcharley
Copy link
Author

hcharley commented Jun 8, 2020

I feel the same about Go. Good luck.

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

No branches or pull requests

3 participants