SyntaxErrorException: Unexpected syntax '} ', Expected pipeline operator '|>'