CPM - Cisco ISE API getting HTTP 400
104
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 15:56 PM
Symptom
Recieved HTTP Response <=====
StatusCode: 400
Body: <?xml version="1.0" encoding="utf-8" standalone="yes"?><ns3:ersResponse operation="PUT-update-internaluser" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns3="ers.ise.cisco.com"><link rel="related" href="https://192.168.50.235/ers/config/internaluser/50a5d4a4-ec42-4bd7-b948-274ab3b1d3ab" type="application/xml"/><messages><message type="ERROR" code="Schema validation exception"><title>XML Schema Validation Failed :: at line 1, column 390 : cvc-datatype-valid.1.2.1: '' is not a valid value for 'boolean'.</title></message></messages></ns3:ersResponse>
Headers: Transfer-Encoding: chunked; Connection: keep-alive; Cache-Control: no-cache, no-store, must-revalidate; Content-Type: application/vnd.com.cisco.ise.ers.ersresponse.1.1+xml;charset=utf-8; Expires: Thu, 01 Jan 1970 00:00:00 GMT; Set-Cookie: JSESSIONIDSSO=A5DE2C78611C2F2BEB9C63D91298A016; Path=/; Secure; HttpOnly,APPSESSIONID=52249D1470BA590D3C4B8A3BC524EC2E; Path=/ers; Secure; HttpOnly; Pragma: no-cache; X-Frame-Options: SAMEORIGIN; Strict-Transport-Security: max-age=31536000; includeSubDomains; X-Content-Type-Options: nosniff; X-Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data:;; X-WebKit-CSP: default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data:;; Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data:;; X-XSS-Protection: 1; mode=block; Date: Wed, 27 Dec 2023 06:54:56 GMT; Server: ;
Environment
v2.0 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM) Privileged Access Manager (PAM, self-hosted)
Privilege Cloud
CPM
Cause
Missing value in the request body (2 lines in the CiscoISEAPIChains.xml file)
Resolution
Find and replace this:
{{parsed/TopOfBody}}{{parsed/BetweenValues}}{{pmnewpass}}{{parsed/Tail}}
with this:
{{parsed/TopOfBody}}false{{parsed/BetweenValues}}{{pmnewpass}}{{parsed/Tail}}