
MekalaSubramani (Customer) asked a question.
REST API - Collection error when attribute name had more than one - Hyphen
We are working with RSA G&L 7.5.2 version. When I am trying to collect attribute with more than one hyphen in collection attribute name, it's failing. eg - 'user-join-date' where as 'first-name' is working fine.
Did anyone experience this issue?
Can you describe in more detail?
If it's failing, what is the error?
Can you share a screenshot of the configuration which is causing the collection to fail?
What is the "Reference Name" for this attribute on Attribute Configuration page?
This is the error...
Collector test failed:
com.aveksa.server.runtime.ServerException: Test request failed with response: com.aveksa.server.runtime.ServerException: java.lang.IllegalArgumentException: path can not be null or empty Caused By Stack java.lang.IllegalArgumentException: path can not be null or empty at com.jayway.jsonpath.internal.Utils.notEmpty(Utils.java:386) at com.jayway.jsonpath.internal.JsonContext.read(JsonContext.java:76) at com.aveksa.client.genericrest.postprocessor.response.JSONResponseHandler.parseResponseForData(JSONResponseHandler.java:159) at ..
Can you share a screenshot of the configuration which is causing the collection to fail?
I've used the following config (on v7.5.2 P4) and it's working as expected.
Maybe the issue is caused due the data with one of the records in the response
Thanks for testing. let me work with end user & identify the issue.