Stackdriver Logging Extension and Apigee Flow Variables

I am not able to log request and response payload values (request.conent and response.content) thru stackdriver extension. It is a important requirement for my project. Please provide any idea to make it work. TIA.

0 2 118
2 REPLIES 2

Not applicable

I think you are trying in postclient flow, you can set the request.content to a varible and same for the response.content, and try to use those varibales in the stackdriver extension.

Thanks for your response.

I tried the same. But, I am receiving Status 400 - Error thrown: SyntaxError: Unexpected token a in JSON at position 903 error

Could you pls. share any sample?