TomlDecodeError: Found tokens after a closed string. Invalid TOML. (line 1 column 1 char 0)


I am getting above error. I am using secret.toml to save secrets. File is inside .streamlit\secret.tml folder and it contains below content.

database = “xx”
username = “xx”
server = “xxxxxxxx”

toml online parser say the syntax is correct

Please let me know.

@Vish1210 , the filename should be secrets.toml. Not (secrets.tml)