How can i log my input request payload and error messages??

@upasana.nayak1 , Message Logging Policy is the one you should use for logging purpose. Did you get a chance to try same ?

Hi @upasana.nayak1,

This has been discussed earlier. Pl see following links:

https://community.apigee.com/questions/13236/request-response-not-captured-in-message-logging.html

https://community.apigee.com/questions/8450/logging-context-information-in-error-flow.html

Cheers,

Rajesh