Why am I seeing the "Could not find a usable config.yml, you may have revoked the CircleCI OAuth app." message

Failed User Authentication

When you see that the pipeline does not run with the below error message, it means that the user who triggered the build could not be authenticated and therefore CircleCI could not retrieve the configuration file (config.yml). 

Could not find a usable config.yml, you may have revoked the CircleCI OAuth app

When a user pushes a commit, opens a PR, or triggers a new CircleCI build via the API or via the UI, CircleCI fetches the configuration file (config.yml) to generate the pipeline. CircleCI will use the author's authentication token to fetch the config.yml file. When this authentication fails because the token has become invalid or has expired, the user will see the above error message.

Solution: Re-Authentication

If this is the case, we recommend this user to re-authenticate with CircleCI.

  1. Go to https://app.circleci.com and log out.
  2. Go to your personal OAuth application settings for CircleCI: CircleCI OAuth App on GitHub
  3. Click Revoke access and confirm.
  4. Clear your browser's cache and cookies
  5. Log back in to CircleCI via GitHub.

If the above does not resolve the issue, please raise it as a support ticket with the link to the failed message and we will be happy to investigate further.

Additional Resources

 

Was this article helpful?
1 out of 6 found this helpful

Comments

0 comments

Article is closed for comments.