I think in your place I’d start deleting sections of this YML in a binary search to find the culprit. You have a couple of blank lines, and you have two ‘replace’ sections which you could perhaps remove one at a time. Start by removing major sections and hope you can converge on the problem.