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

Scrutinizer setup didn't work. #1

Open
jonpugh opened this issue Jul 30, 2018 · 3 comments
Open

Scrutinizer setup didn't work. #1

jonpugh opened this issue Jul 30, 2018 · 3 comments

Comments

@jonpugh
Copy link
Contributor

jonpugh commented Jul 30, 2018

Describe the bug or behavior
Create project command ended with a 404 to scrutinizer's API.

Client error: `POST https://scrutinizer-ci.com/api/repositories/g/opendevshop/dlt/inspections?access_token=dd5f8e69d4a97xxxxxxxxxMYAPIKEYxxxxx1878a40c626d4dfbc7885883` resulted in a `404 Not Found` response:
{
    "message": "NotFoundHttpException",
    "description": "NotFoundHttpException"
}

Maybe it's because I didn't create a scrutinizer "organization" for "opendevshop" yet?

I guess I'll have to create a new project to test it out :)...

stand by...

@jonpugh
Copy link
Contributor Author

jonpugh commented Jul 30, 2018

Nope, getting 404 regardless of what I try!

@dustinleblanc
Copy link

Just ran into this too actually

@greg-1-anderson
Copy link
Member

Are you using a scrutinizer token, or are you running without a scrutinizer token set? If you do NOT set your scrutinizer token, then the README for your new project will contain a link to set up your scrutinizer project.

If you are using a scrutinizer personal access token, you will need to make sure that your org is authenticated with GitHub before you begin.

This doc may or may not help: https://help.github.com/articles/enabling-oauth-app-access-restrictions-for-your-organization/

Try creating a new project against your GitHub username rather than an org (just as a test), and see if that works. That is generally easier than using an org.

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

3 participants