cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
335
Views
0
Helpful
2
Replies

Conversion Exception on REST Call

paul
Level 10
Level 10

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

hslai
Cisco Employee
Cisco Employee

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

View solution in original post

2 Replies 2

paul
Level 10
Level 10

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.

hslai
Cisco Employee
Cisco Employee

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