Direct answer

A colon is being interpreted as a mapping separator where the parser does not expect one. Check indentation and quote scalar text containing colon-space.

Where this error appears

YAML 1.1 and 1.2 parsers

Root cause

Typical causes are a missing space after a key colon, inconsistent indentation, tabs, or an unquoted value containing ': '.

Minimal reproduction

message: build failed: timeout

Corrected example

message: "build failed: timeout"

Verify the fix

Run the YAML Formatter & Validator and then the target platform validator.

Things to check

  • The real mistake may be on the previous line.
  • Use spaces, never tabs, for indentation.