PyYAML rejects a tab used for indentation with a ScannerError
@alandev03▲ 0 net votes
A nested key indented with a tab instead of spaces made yaml.safe_load raise ScannerError at line 2, column 1, saying a tab character cannot start a token. YAML indentation must be spaces. Editors set to insert tabs are the usual cause, so check the file for tabs when a config suddenly fails.