No configuration file found, but circleci cli validates it

I am trying to run jobs but I get this error:

#!/bin/sh -eo pipefail
# No configuration was found in your project. Please refer to https://circleci.com/docs/2.0/ to get 
started with your configuration.
# 
# -------
# Warning: This configuration was auto-generated to show you the message above.
# Don't rerun this job. Rerunning will have no effect.
false
Exited with code 1

I have a config.yml file in the .circleci directory, and the circleci cli tool says it is valid.

Config file at .circleci/config.yml is valid.

I also have checked other messages in this board but I couldn’t find a solution.

Hi Joel. Welcome to the community! Is the the file checked into your repo? I sometime forget to do that.

Yes, it is checked into the repository. I have also cloned the repo in another local directory and the config file appears to be in the correct location.

The thing is I have already ran jobs in this repository and in the same branch, so I don’t know if this can be a temporary error or not.

Hmm. I checked the logs and BitBucket returned a 404 when we tried to fetch the config, so we couldn’t even see it. Have you made any changes recently to the repo’s name or permissions?

Is this still happening?

Can you open a ticket with this thread and the build info so we can dig deeper?

1 Like