Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Salesforce
  3. Question
Salesforce

What is this error? Unable to parse YAML: mapping values are not allowed here?

Asked by Elayne Balding Sep 11, 2023 1.5K views 1 answer
Share

About this question

 I am shifting from Gitlab to CircleCl and am trying to chalk out a simple pipeline (“workplace”) that should look like this:

I wasted time by copy-pasting example configs from the documentation. I have defined three jobs: Build Tests Release I then created a minimal workflow that will echo the job title, include some requirements (to map the pipeline), and have a condition that will only trigger releases on tags.  Although I am always getting a YAML parsing error, mapping values are not allowed here.

Given below is my config.yaml that is currently failing:

I have also tried online YAML validators, but they are always saying that this is the correct YAML; there should be something wrong with the way Circle expects the config to be. What can it be?  I have managed to minify an example that causes the same error.

The causes:

Your answer

1 Answer

More Salesforce discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.