# I Want to validate my Webhook in zoom , but it failed

**URL:** <https://devforum.zoom.us/t/i-want-to-validate-my-webhook-in-zoom-but-it-failed/133345>\
**Category:** Authentication\
**Tags:** webhooks\
**Created:** [May 29, 2025, 10:21am UTC](https://devforum.zoom.us/t/i-want-to-validate-my-webhook-in-zoom-but-it-failed/133345 "2025-05-29T10:21:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Axya](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/axya/32/50453_2.png) [@Axya](https://devforum.zoom.us/u/Axya)\
**Post date:** [May 29, 2025, 10:21am UTC](https://devforum.zoom.us/t/i-want-to-validate-my-webhook-in-zoom-but-it-failed/133345/1 "2025-05-29T10:21:19Z")

</div>

I want to validate my Zoom Webhook in my django project, but it fails with my domain but when i use ngrok on same project then it works fine and validated successfully, i dont know what’s an issue, becuase project is same and also the endpoint is same for both but validation is failed when i use domain , my domain is also registered in cloudfair  
’ def handle\_zoom\_url\_validation(self, payload):  
“”“Handle Zoom CRC (Certificate of Completion) validation”“”  
logger.info(“🟢 Handling URL validation request”)  
plain\_token = payload.get(“payload”, {}).get(“plainToken”)

```
    if not plain_token:
        logger.error("🔴 Missing plainToken in CRC payload")
        return JsonResponse({"error": "Missing plainToken"}, status=400)

    try:
        # Convert secret to bytes if needed
        secret = settings.ZOOM_WEBHOOK_SECRET
        if isinstance(secret, str):
            secret = secret.encode()
            
        encrypted_token = hmac.new(
            secret,
            plain_token.encode(),
            hashlib.sha256
        ).hexdigest()

        logger.info(f"🟢 Generated encrypted token for CRC: {encrypted_token}")
        return JsonResponse({
            "plainToken": plain_token,
            "encryptedToken": encrypted_token
        }, status=200)

    except Exception as e:
        logger.exception(f"🔥 CRC token encryption failed: {e}")
        return JsonResponse({"error": "Token encryption failed"}, status=500)

```

’

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [May 30, 2025, 4:15pm UTC](https://devforum.zoom.us/t/i-want-to-validate-my-webhook-in-zoom-but-it-failed/133345/2 "2025-05-30T16:15:05Z")

</div>

Hi @Axya  
I just tagged you in another thread from a developer who was having an issue validating their endpoint.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [May 30, 2025, 4:15pm UTC](https://devforum.zoom.us/t/i-want-to-validate-my-webhook-in-zoom-but-it-failed/133345/3 "2025-05-30T16:15:24Z")

</div>

> [@Not receiving Webhooks from General App in development](https://devforum.zoom.us/t/not-receiving-webhooks-from-general-app-in-development/131996/6):
>
> Hi @chuks would you mind sharing the solution to this issue? we have another developer facing this @Axya
