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.
- Go to https://app.circleci.com and log out.
- Go to your personal OAuth application settings for CircleCI: CircleCI OAuth App on GitHub
- Click
Revoke access
and confirm. - Clear your browser's cache and cookies
- 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
Comments
Article is closed for comments.