ParseError thrown

syntax error, unexpected '}', expecting end of file