04-13-2011 08:53 AM
In our application, we are using findDeviceforUser() API with loadServiceAttributes = true. This is required for querying certain Device feature related information from BES.
However, for certain Device models (specifically for BlackBerry 9000), we are getting the following exception:
"Invalid Character Exception" and a response of
<encryptionAlgorithms>3DES, AES-256, 0x?</encryptionAlgorithms>
The error character ? corresponds to a control character(BEL)
Can someone please help me how to resolve this issue. Is this a known bug. Are there any known patches for this?
Solved! Go to Solution.
04-14-2011 09:05 AM
Where is this exception being thrown? Is it thrown by the library or some line in your application?
From within the BAS console, what is the character that should be sent in the response?
04-15-2011 09:35 AM
The exception is happening at the following web service call:
FindDeviceForUserResult deviceResult = coreWebService.findDeviceForUser(findDeviceForUser
I think call to coreWebService.findDeviceForUser(findDeviceForU
In the console the exception character is trimmed and is shown as '3DES, AES-256, 0x'
04-15-2011 02:45 PM
It looks like there is an issue with your BES/BAS configuration. The only values that should be listed for the Encryption Algorithms are 3DES and/or AES-256. "0x" should not be listed. This value is unexpected which is why the BAA is throwing the exception, once this is resolved your application should function with these users.
I would suggest engaging the BES forum boards or to create a ticket with the server support teams to help get this resolved.