# Webhook signature validation in python

**URL:** <https://forum.uipath.com/t/webhook-signature-validation-in-python/158438>\
**Category:** Help\
**Tags:** python, orchestrator, activities\
**Created:** [October 11, 2019, 10:48am UTC](https://forum.uipath.com/t/webhook-signature-validation-in-python/158438 "2019-10-11T10:48:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ronlobo](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ronlobo/32/176941_2.png) [@ronlobo](https://forum.uipath.com/u/ronlobo)\
**Post date:** [October 15, 2019, 10:16am UTC](https://forum.uipath.com/t/webhook-signature-validation-in-python/158438/2 "2019-10-15T10:16:10Z")

</div>

Issue was with empty spaces while extracting JSON out of raw request.  
Using separators solved the issue.  
json.dumps(event[‘body’], separators=(‘,’, ‘:’))

> [@How to create a webhook listener in aws by using api and lambda?](https://forum.uipath.com/t/how-to-create-a-webhook-listener-in-aws-by-using-api-and-lambda/159306):
>
> Problem Statement: Log an incident in ServiceNow for all failure events triggered from Uipath Orchestrator. Send out notification emails to support team on every failure. Solution: Create an API Gateway in AWS to listen to Orchestrator webhook events. And with help of Lambda, log an incident to ServiceNow. Use SNS within lambda to send out notification e-mail to support team. Architecture Diagram: Step-by-step guide: Create API Gateway service in AWS. Create a POST m…

---

_[View the full topic](https://forum.uipath.com/t/webhook-signature-validation-in-python/158438)._
