I have an API hosted on Azure and I have started using the Azure API Management. One of my API endpoint is a GET and it requires a body in the form of JSON to be passed to the endpoint. On my postman, I am able to hit the actual API (hosted on Azure) and send the body and I am able to get some results. But when i tried to hit the api on azure api management, I am getting the following exception, although i am sending the request body:
{
"errors": {
"": [
"A non-empty request body is required."
]
},
"type": "https://tools.ietf.org/html/rfcXXXX#section-6.5.1",
"title": "One or more validation errors occurred.",
"status": 400,
"traceId": "XXXXXXXXXXXXXXXXXXXXXXXXXXX"
}
Am I missing some configuration on the Azure Api management? I did look up the set policies and i used the following on my inbound but this is still not working
<set-header name="Content-Type" exists-action="override">
<value>application/json</value>
</set-header>
<set-body template="liquid">{{body.json}}"}</set-body>
Any insight on how i can fix this issue will be greatly appreciated. Thanks in advance.

<set-body>@{ JObject inBody = context.Request.Body.As<JObject>(); return inBody.ToString(); }</set-body>to see if you can get the body content in the trace. - Allen Wu