cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
 
ISE 2.3 Patch 7 has been posted. This will be the last patch for the ISE 2.3 release!
Choose one of the topics below to view our ISE Resources to help you on your journey with ISE

This community is for technical, feature, configuration and deployment questions.
For production deployment issues, please contact the TAC! We will not comment or assist with your TAC case in these forums.
Please see How to Ask the Community for Help for other best practices.

77
Views
0
Helpful
2
Replies
VIP Engager

Conversion Exception on REST Call

I have an odd error when I query the guest types on my lab deployment running 2.3 patch 2.


https://10.89.80.34:9060/ers/config/guesttype


{

    "ERSResponse": {

        "operation": "GET-getAll-guesttype",

        "messages": [

            {

                "type": "ERROR",

                "code": "Conversion exception"

            }

        ],

        "link": {

            "rel": "related",

            "href": "https://10.89.80.34:9060/ers/config/guesttype",

            "type": "application/xml"

        }

    }

}

I can make the same query without issue to a customer's deployment.  Not sure what the conversion exception means.  I can query other stuff from ISE via API (endpoints, DACLs, etc.).  Does it mean I have a bad guest type of some sort?

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Conversion Exception on REST Call

I opened CSCvi07975 on the filter issue. Please wait for a couple of days before it externally visible.

If you get the same error again, please turn on debug on ers and check ise-psc.log and guest.log.

The API doc says,

CONVERSION_EXCEPTIONOccurs for some internal conversions and should be treated as INTERNAL_EXCEPTION
2 REPLIES 2
VIP Engager

Re: Conversion Exception on REST Call

Well I guessed it was something with the guest types it didn't like.  I deleted all the custom ones I created, then the query worked.  Then I rebuilt the guest types I wanted and it still works.

One oddity is that the filter by name doesn't appear to work.

https://10.89.80.34:9060/ers/config/guesttype?filter=name.eq.Guest_Daily


I have a guest type called Guest_Daily that the filter doesn't work.  The call just returns all the guest types.

Cisco Employee

Re: Conversion Exception on REST Call

I opened CSCvi07975 on the filter issue. Please wait for a couple of days before it externally visible.

If you get the same error again, please turn on debug on ers and check ise-psc.log and guest.log.

The API doc says,

CONVERSION_EXCEPTIONOccurs for some internal conversions and should be treated as INTERNAL_EXCEPTION