add ability to extract a JSON stringified key using response_transformer plugin #7265
tarciosaraiva
started this conversation in
Ideas and feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Our case is around the integration of Kong + AWS Lambda plugin. When an error occurs in the Lambda end, the full response sent back by the Lambda is displayed on the response body, which includes the stack trace and the type of error.
Here's an example:
The payload above contains way too much info and what we really want to send back is the contents of the
errorMessage
key. Since this is JSON content, we thought we could use theresponse-transfomer
plugin to extract that information and send it back but the plugin does not support extraction.Would be great if it did.
Beta Was this translation helpful? Give feedback.
All reactions