Web Services - Java error

I am implementing a webservices connector and once I had the authentication piece configured where an accesstoken was generated, I received the below lower level java error.

I had some rules in place initially which I have since removed. I also limited the HTTP requests in the configuration to be simplified. I have restarted the cluster and confirmed the VAs are updated. We recieve the error when doing a test on the connection.

Error Received:

class sailpoint.tools.xml.PersistentHashMap cannot be cast to class java.lang.String (sailpoint.tools.xml.PersistentHashMap is in unnamed module of loader ‘app’; java.lang.String is in module java.base of loader ‘bootstrap’)

Anybody seen this error? Any ideas on where to start?

I have requested the customer to open a ticket with support

Just check if theres any mismatch in your SailPoint Web Services connector configuration, where the system expects a String but instead receives a PersistentHashMap

1 Like

@ts_fpatterson
Could you please share the rule code (make sure to mask any sensitive data)? The error seems to be caused by treating a value of type HashMap as a String , which is likely resulting in a parsing issue.

1 Like

Looks to have been an issue with the authentication parameters. Authorization had two parameters listed under it, under the header.