ParseError thrown

syntax error, unexpected token "{", expecting ")"