Case 1: This case applies for AE and SDP :
Following exception trace can be seen in sdpintegrationlog of UEM product
[15:33:20:130]|[02-09-2023]|[SDPIntegrationLog]|[SEVERE]|[371]|[eca222d0-d0c9-41ee-bb46-edbee85ad6ca]: Error while posting data|
at com.adventnet.sym.server.inventory.standalone.SDPInvDataPostImpl.postDataToSDP(SDPInvDataPostImpl.java:94)
at com.adventnet.sym.server.inventory.SDPInvDataPost.postDataToSDP(SDPInvDataPost.java:193)
at com.adventnet.sym.server.inventory.SDPInvDataPost.postXMLContent(SDPInvDataPost.java:120)
at com.adventnet.sym.server.inventory.SDPInvDataProcessor.desktopDataPost(SDPInvDataProcessor.java:281)
at com.adventnet.sym.server.inventory.SDPInvDataProcessor.processData(SDPInvDataProcessor.java:75)
at com.me.devicemanagement
[15:33:34:089]|[02-09-2023]|[SDPIntegrationLog]|[INFO]|[331]|[05e14b60-d6f9-45d2-9345-f799f744edc8]: Exception while getting sdp build no|
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Long.parseLong(Long.java:601)
at java.lang.Long.parseLong(Long.java:631)
Solution :
Please ask the cx to upgrade the DC to build versions above 11.2.2315.1 in all NLs (Possibly ask them to upgrade DC to latest version based on compatibility from below sheet)If the cx is in the EC versions greater than the above versions but still they are facing this issue, then please get the information from cx whether the cx previously integrated EC with any other AE already (or) whether the EC is bundled with AE and then integrates with SDP now. We had a similar issue in this ticket #9172893.
Please get the above information from the cx as well, and revert to us.
Case 2:
This means the integration key used in UEM product UI, sdp server settings This means the integration key used in UEM product UI, sdp server settings This means the integration key used in UEM product UI, sdp server settings The following exception trace can be seen UEM product's SDPIntegrationlog
Error while posting data|
This means the integration key used in UEM product UI, sdp server settings belongs to a user without scan now and inventory permissions.
The following exception trace can be seen UEM product's SDPIntegrationlog
Error while posting data|
This means the integration key used in UEM product UI, sdp server settings is incorrect.
Solution:
Please ask the cx to use the following steps for integration:
1. In SDP/AEo to Admin > Developer Space > Integration key and create an integration key with SDAdmin role.
2. In the UEM product, go to Servicedeskplus settings, edit and add the api key generated in step 1 to the api key field and click save.
3. In SDP/AE -->go to UEM Products and re-integrate on Servicedeskplus by giving server credentials
4. Try scan again.
In this method you can always go back to the Integration key page, view and verify the key api key and make sure it is tied to the right role.
Note: The case 2 is applicable for response code 400 as well, Integration is not proper, so we will get this response.
Case 3:
Following exception trace can be seen in sdpintegrationlog of UEM product
[15:33:20:130]|[02-09-2023]|[SDPIntegrationLog]|[SEVERE]|[371]|[eca222d0-d0c9-41ee-bb46-edbee85ad6ca]: Error while posting data|
at com.adventnet.sym.server.inventory.standalone.SDPInvDataPostImpl.postDataToSDP(SDPInvDataPostImpl.java:94)
at com.adventnet.sym.server.inventory.SDPInvDataPost.postDataToSDP(SDPInvDataPost.java:193)
at com.adventnet.sym.server.inventory.SDPInvDataPost.postXMLContent(SDPInvDataPost.java:120)
at com.adventnet.sym.server.inventory.SDPInvDataProcessor.desktopDataPost(SDPInvDataProcessor.java:281)
at com.adventnet.sym.server.inventory.SDPInvDataProcessor.processData(SDPInvDataProcessor.java:75)
at com.me.devicemanagement
[15:33:34:089]|[02-09-2023]|[SDPIntegrationLog]|[INFO]|[331]|[05e14b60-d6f9-45d2-9345-f799f744edc8]: Exception while getting sdp build no|
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Long.parseLong(Long.java:601)
at java.lang.Long.parseLong(Long.java:631)
This exception trace is same as case 1,but this case can be seen in SDP builds also. This could be because UEM is unable to get the build number from SDP/AE with the url /api/v3/app_resources/build_info because the throttle limit must have exceeded. , you will see a throttle exception for /api/v3/app_resources/build_info in securitylog for assetexplorer and serverout log for SDP.
Solution : Go to <SDP/AE_installation directory>/webapps/ROOT/WE_INF/security/security-authentication.xml, in this line <throttle duration="1m" threshold="100" lock-period="1m"/> increase the threshold, restart AE/SDP service and reintegrate on UEM product side