<?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 Re: Prime 3.5 API error in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/prime-3-5-api-error/m-p/3883844#M2229</link>
    <description>Hi Maria,&lt;BR /&gt;&lt;BR /&gt;This is a known issue that has been fixed in 3.5.1.&lt;BR /&gt;Here is our internal defect id for this: CSCvn63394&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Alexander</description>
    <pubDate>Wed, 03 Jul 2019 10:29:34 GMT</pubDate>
    <dc:creator>Alexander Onnikov</dc:creator>
    <dc:date>2019-07-03T10:29:34Z</dc:date>
    <item>
      <title>Prime 3.5 API error</title>
      <link>https://community.cisco.com/t5/controllers/prime-3-5-api-error/m-p/3883831#M2228</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;customer is requesting info from Prime (version 3.5) with API /webacs/api/v4/data/ClientDetails&lt;BR /&gt;After several good responses they get error with a record with Enum value&lt;/P&gt;
&lt;P&gt;Error reported in logs:&lt;/P&gt;
&lt;P&gt;"Caused by: com.cisco.xmp.web.query.PersistenceException: errorId=12,componentName=CRUD Error Exception while invoking valueOf method 'getEnum' of enumeration class 'class com.cisco.ncs.nbi.client.ClientApModeEnum'"&lt;/P&gt;
&lt;P&gt;Could you help to solve this type of error?&lt;BR /&gt;Thanks&lt;/P&gt;
&lt;P&gt;Maria&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 10:07:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/prime-3-5-api-error/m-p/3883831#M2228</guid>
      <dc:creator>mabarone</dc:creator>
      <dc:date>2019-07-03T10:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Prime 3.5 API error</title>
      <link>https://community.cisco.com/t5/controllers/prime-3-5-api-error/m-p/3883844#M2229</link>
      <description>Hi Maria,&lt;BR /&gt;&lt;BR /&gt;This is a known issue that has been fixed in 3.5.1.&lt;BR /&gt;Here is our internal defect id for this: CSCvn63394&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Alexander</description>
      <pubDate>Wed, 03 Jul 2019 10:29:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/prime-3-5-api-error/m-p/3883844#M2229</guid>
      <dc:creator>Alexander Onnikov</dc:creator>
      <dc:date>2019-07-03T10:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Prime 3.5 API error</title>
      <link>https://community.cisco.com/t5/controllers/prime-3-5-api-error/m-p/4318329#M2230</link>
      <description>&lt;P&gt;I'm having the same issue in cisco 3.8.0. Is this a known issue?&lt;/P&gt;&lt;P&gt;As you can see, in this case as well the query only fails after a few successful queries (we have a pagination in place), it seems it always fails on the same page (when we query the first result 18000). Could this be a single problematic client?&lt;/P&gt;&lt;P&gt;This is the full error:&lt;/P&gt;&lt;PRE&gt;&amp;lt;ClientResponse(https://156.72.162.11:443/webacs/api/v4/data/ClientDetails.json?.full=true&amp;amp;.maxResults=250&amp;amp;.firstResult=18000) [500 ]&amp;gt;
&amp;lt;CIMultiDictProxy('Cache-Control': 'private', 'Expires': 'Thu, 01 Jan 1970 00:00:00 GMT', 'Set-Cookie': 'JSESSIONID=FE96CB742C5C8DFA1EDE4F83432B04DF; Path=/webacs; Secure; HttpOnly', 'Strict-Transport-Security': 'max-age=31622400; includeSubDomains', 'X-XSS-Protection': '1; mode=block', 'X-Content-Type-Options': 'nosniff', 'Content-Security-Policy': "default-src 'self' wss: https: data: 'unsafe-inline' 'unsafe-eval'", 'X-NBI-TIME': '359', 'X-Frame-Options': 'SAMEORIGIN', 'Date': 'Sun, 04 Apr 2021 10:27:48 GMT', 'Server-Timing': 'filters;dur=4;desc="Servlet filters"', 'Server-Timing': 'security;dur=924;desc="Authentication and authorization"', 'Server-Timing': 'cxf;dur=2;desc="CXF"', 'Server-Timing': 'nbi;dur=7;desc="NBI framework"', 'Server-Timing': 'db;dur=352;desc="Database access"', 'Server-Timing': 'marshalling;dur=0;desc="Response marshalling"', 'Server-Timing': 'total;dur=1289;desc="Total time"', 'Content-Type': 'application/json', 'Content-Length': '577', 'Connection': 'close', 'Server': 'Prime')&amp;gt;
{"errorDocument":{"httpResponseCode":500,"httpMethod":"GET","message":"errorId=12,componentName=CRUD Error Exception while invoking valueOf method 'getEnum' of enumeration class 'class com.cisco.ncs.nbi.client.SecurityPolicyEnum'","exception":"com.cisco.xmp.web.query.PersistenceException: errorId=12,componentName=CRUD Error Exception while invoking valueOf method 'getEnum' of enumeration class 'class com.cisco.ncs.nbi.client.SecurityPolicyEnum'","uriPath":"data/ClientDetails","queryParams":"{.full=[true], .maxResults=[250], .firstResult=[18000]}","domain":"ROOT-DOMAIN"}}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Apr 2021 06:39:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/prime-3-5-api-error/m-p/4318329#M2230</guid>
      <dc:creator>orp</dc:creator>
      <dc:date>2021-04-05T06:39:36Z</dc:date>
    </item>
  </channel>
</rss>

