Webhook signature validation in python

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