python_api icon indicating copy to clipboard operation
python_api copied to clipboard

Updating clustername broken

Open JJWTimmer opened this issue 5 years ago • 0 comments

ml = MarkLogic(conn)
cluster = ml.cluster()
cluster.set_cluster_name(cl_config['cluster'])
cluster.update()

gives error

marklogic.exceptions.UnexpectedManagementAPIResponse: {"errorResponse":{"statusCode":"500", "status":"Internal Server Error", "messageCode":"XDMP-AS", "message":"XDMP-AS: (err:XPTY0004) $value as xs:string -- Invalid coercion: <opsdirector-session-endpoint xmlns=\"http://marklogic.com/manage/cluster-local/properties\"/> as xs:string"}}

JJWTimmer avatar Aug 06 '20 11:08 JJWTimmer