Azure Data factory Pipeline faliure integration with service now incident

I want to integrate my azure data factory having multiple pipelines if any pipeline fails it should create the service now incident

What I have tried is

  • I created one action group with having a webhook pointed to scripted rest api URL created in service now.

But above way is not working, incident is getting created but I am getting empty json so not having data to use and request.body is empty

Tell me where I am missing or give me rest api Java script code