MekalaSubramani (Customer) to rsaSFDCadmin (RSA): asked a question.

Generic Rest ADC collection - token as text
We are using Boomi as intermediate layer to connect to various application
collection for authentication. configuration includes some header attributes.


I am getting following error message on the response ->


04/06/2023 12:11:01.590 INFO
(ApplyChangesPerformQuery-1680797456797-1680797456797)
[com.aveksa.common.http.client.RSAHTTPClient] HTTP connection successful
04/06/2023 12:11:01.609 ERROR
(ApplyChangesPerformQuery-1680797456797-1680797456797)
[com.aveksa.client.genericrest.postprocessor.response.JSONResponseHandler]
Error extracting value from response {jsonPath = $.access_token}
com.jayway.jsonpath.PathNotFoundException: Expected to find an object with
property ['access_token'] in path $ but found 'java.lang.String'. This is not
a json object according to the JsonProvider:
'com.jayway.jsonpath.spi.json.JsonSmartJsonProvider'.
at
com.jayway.jsonpath.internal.path.PropertyPathToken.evaluate(PropertyPathToken.java:71)
at
com.jayway.jsonpath.internal.path.RootPathToken.evaluate(RootPathToken.java:62)
at
com.jayway.jsonpath.internal.path.CompiledPath.evaluate(CompiledPath.java:53)
at
com.jayway.jsonpath.internal.path.CompiledPath.evaluate(CompiledPath.java:61)

Via postman, I am getting token as a plain text... Failing while working in
RSA G&L... Any clues for a fix?

  • The REST collectors only supports JSON response type. Check with the vendor to
    see if you can get a valid JSON response for token
    Selected as Best
  • The REST collectors only supports JSON response type. Check with the vendor to
    see if you can get a valid JSON response for token
    Selected as Best