Skip to content

YAML error: found character that cannot start any token #1

@stephanos

Description

@stephanos

Maybe I'm doing something wrong, but when I parse this file:

smtp:
    port: 25
    host: smtp.mail.com
    username: johndoe
    password: secretpassword

with

config.ParseYaml(configData)

I get

YAML error: line 1: found character that cannot start any token

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions