<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic &amp;quot;Content is not allowed in prolog&amp;quot; via /admin/API/mnt/Session/UserName in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/quot-content-is-not-allowed-in-prolog-quot-via-admin-api-mnt/m-p/5310730#M597343</link>
    <description>&lt;P&gt;Hello, I am following these docs:&amp;nbsp;&lt;A href="https://developer.cisco.com/docs/identity-services-engine/latest/using-api-calls-for-session-management/#detailed-session-attribute-api-calls" target="_blank" rel="noopener"&gt;https://developer.cisco.com/docs/identity-services-engine/latest/using-api-calls-for-session-management/#detailed-session-attribute-api-calls&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Using this CURL request:&lt;/P&gt;&lt;PRE&gt;curl -X POST -k -H 'Accept: application/xml' -H 'Content-Type: application/xml' -H 'Authorization: Basic REDACTED=' -i 'https://MNT-99.i
se.mydomain.com/admin/API/mnt/Session/UserName' --data 'myuser'&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;I get back the following error:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt;
&amp;lt;mnt-rest-result&amp;gt;
    &amp;lt;http-code&amp;gt;500&amp;lt;/http-code&amp;gt;
    &amp;lt;cpm-code&amp;gt;34110&amp;lt;/cpm-code&amp;gt;
    &amp;lt;description&amp;gt;Server has encountered error while processing the REST request&amp;lt;/description&amp;gt;
    &amp;lt;module-name&amp;gt;MnT&amp;lt;/module-name&amp;gt;
    &amp;lt;internal-error-info&amp;gt;Content is not allowed in prolog.&amp;lt;/internal-error-info&amp;gt;
    &amp;lt;requested-operation&amp;gt;Get By Name&amp;lt;/requested-operation&amp;gt;
    &amp;lt;resource-id&amp;gt;N/A&amp;lt;/resource-id&amp;gt;
    &amp;lt;resource-name&amp;gt;N/A&amp;lt;/resource-name&amp;gt;
    &amp;lt;resource-type&amp;gt;FailureReasonList&amp;lt;/resource-type&amp;gt;
    &amp;lt;status&amp;gt;SERVER_ERROR&amp;lt;/status&amp;gt;
&amp;lt;/mnt-rest-result&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;My CURL seems to match the docs exactly. What am I doing wrong? No luck in Postman either.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jul 2025 17:58:23 GMT</pubDate>
    <dc:creator>CiscoNewb001</dc:creator>
    <dc:date>2025-07-17T17:58:23Z</dc:date>
    <item>
      <title>"Content is not allowed in prolog" via /admin/API/mnt/Session/UserName</title>
      <link>https://community.cisco.com/t5/network-access-control/quot-content-is-not-allowed-in-prolog-quot-via-admin-api-mnt/m-p/5310730#M597343</link>
      <description>&lt;P&gt;Hello, I am following these docs:&amp;nbsp;&lt;A href="https://developer.cisco.com/docs/identity-services-engine/latest/using-api-calls-for-session-management/#detailed-session-attribute-api-calls" target="_blank" rel="noopener"&gt;https://developer.cisco.com/docs/identity-services-engine/latest/using-api-calls-for-session-management/#detailed-session-attribute-api-calls&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Using this CURL request:&lt;/P&gt;&lt;PRE&gt;curl -X POST -k -H 'Accept: application/xml' -H 'Content-Type: application/xml' -H 'Authorization: Basic REDACTED=' -i 'https://MNT-99.i
se.mydomain.com/admin/API/mnt/Session/UserName' --data 'myuser'&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;I get back the following error:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt;
&amp;lt;mnt-rest-result&amp;gt;
    &amp;lt;http-code&amp;gt;500&amp;lt;/http-code&amp;gt;
    &amp;lt;cpm-code&amp;gt;34110&amp;lt;/cpm-code&amp;gt;
    &amp;lt;description&amp;gt;Server has encountered error while processing the REST request&amp;lt;/description&amp;gt;
    &amp;lt;module-name&amp;gt;MnT&amp;lt;/module-name&amp;gt;
    &amp;lt;internal-error-info&amp;gt;Content is not allowed in prolog.&amp;lt;/internal-error-info&amp;gt;
    &amp;lt;requested-operation&amp;gt;Get By Name&amp;lt;/requested-operation&amp;gt;
    &amp;lt;resource-id&amp;gt;N/A&amp;lt;/resource-id&amp;gt;
    &amp;lt;resource-name&amp;gt;N/A&amp;lt;/resource-name&amp;gt;
    &amp;lt;resource-type&amp;gt;FailureReasonList&amp;lt;/resource-type&amp;gt;
    &amp;lt;status&amp;gt;SERVER_ERROR&amp;lt;/status&amp;gt;
&amp;lt;/mnt-rest-result&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;My CURL seems to match the docs exactly. What am I doing wrong? No luck in Postman either.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2025 17:58:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/quot-content-is-not-allowed-in-prolog-quot-via-admin-api-mnt/m-p/5310730#M597343</guid>
      <dc:creator>CiscoNewb001</dc:creator>
      <dc:date>2025-07-17T17:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: "Content is not allowed in prolog" via /admin/API/mnt/Se</title>
      <link>https://community.cisco.com/t5/network-access-control/quot-content-is-not-allowed-in-prolog-quot-via-admin-api-mnt/m-p/5310930#M597352</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; -&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1841126"&gt;@CiscoNewb001&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FYI :&amp;nbsp;&lt;A href="https://bst.cloudapps.cisco.com/bugsearch/bug/CSCwk72712" target="_blank"&gt;https://bst.cloudapps.cisco.com/bugsearch/bug/CSCwk72712&lt;/A&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; The bug report has a&lt;FONT color="#008000"&gt;&lt;STRONG&gt; Fixed&lt;/STRONG&gt; &lt;/FONT&gt;status but no&amp;nbsp;&lt;SPAN&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;Known Fixed Releases&lt;/EM&gt; &lt;/FONT&gt;are mentioned.&amp;nbsp; That means that developers have fixed the issue, but it is not yet incorporated in a production release.&amp;nbsp; If the issue is urgent &lt;EM&gt;contact TAC and ask for an ETA.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;M.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 06:09:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/quot-content-is-not-allowed-in-prolog-quot-via-admin-api-mnt/m-p/5310930#M597352</guid>
      <dc:creator>Mark Elsen</dc:creator>
      <dc:date>2025-07-18T06:09:11Z</dc:date>
    </item>
  </channel>
</rss>

