camunda / connectors

Camunda Connectors
https://docs.camunda.io/docs/components/integration-framework/connectors/out-of-the-box-connectors/available-connectors-overview/
Apache License 2.0
35 stars 36 forks source link

[AWS Sagemaker Connector] Response is not parsed as json #2752

Closed sbuettner closed 3 weeks ago

sbuettner commented 3 weeks ago

Describe the Bug

As described by @bastiankoerber the response.body that is returned by the Sagemaker API is not parsed before returning it to the Connector Runtime. This leads to escaped json which currently cant be used or parsed inside the FEEL resultExpression.

Steps to Reproduce

Call the connector and try to access data inside the response.body object.

Expected Behavior

If Sagemaker returns json and the content type reflects that the runtime should use this information to parse the response body and return a proper unescaped json object as the value of the response.body.

Environment