This error message typically indicates that there is a syntax error in the YAML file on line 3. In this case, it seems that you are trying to define a mapping (a key-value pair) in a context where mappings are not allowed.
To resolve this issue, you should review the YAML syntax rules and ensure that your file is structured correctly. Specifically, check for any misplaced or missing punctuation marks, such as colons and hyphens, which are essential for defining mappings and lists respectively.
Here’s an example of how to define a basic mapping in YAML:
key: value
If you need to define multiple key-value pairs, you can use the following syntax:
key1: value1
key2: value2
key3: value3
Make sure that each key-value pair is separated by a newline character, and that there is no indentation before the first key. If you’re still having trouble, you may want to use a YAML validator to help identify any syntax errors in your file.