# Why Webhook is not hitting in server mean while it works Perfectly in local by using ng Rock

**URL:** <https://community.rapyd.net/t/why-webhook-is-not-hitting-in-server-mean-while-it-works-perfectly-in-local-by-using-ng-rock/58131>\
**Category:** ⚙️ API\
**Tags:** webhooks\
**Created:** [November 17, 2022, 9:44am UTC](https://community.rapyd.net/t/why-webhook-is-not-hitting-in-server-mean-while-it-works-perfectly-in-local-by-using-ng-rock/58131 "2022-11-17T09:44:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gazeeb](https://avatars.discourse-cdn.com/v4/letter/g/f17d59/32.png) [@gazeeb](https://community.rapyd.net/u/gazeeb)\
**Post date:** [November 17, 2022, 9:44am UTC](https://community.rapyd.net/t/why-webhook-is-not-hitting-in-server-mean-while-it-works-perfectly-in-local-by-using-ng-rock/58131/1 "2022-11-17T09:44:22Z")

</div>

when we are using ng rock url for webhook resposnse url it works fine. when we put this code on server the webhook resposnse is not hitting in Api ?.why it happens ? .pls help us code is on c#  
server webhook url :  
[https://offsetnowuat.perfectlimited.com:444/api/admin/webhook](https://offsetnowuat.perfectlimited.com:444/api/admin/webhook)

---

<div class="post-metadata">

**Author:** ![Aswanth](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@Aswanth](https://community.rapyd.net/u/Aswanth)\
**Post date:** [November 17, 2022, 9:46am UTC](https://community.rapyd.net/t/why-webhook-is-not-hitting-in-server-mean-while-it-works-perfectly-in-local-by-using-ng-rock/58131/2 "2022-11-17T09:46:47Z")

</div>

I have the same issue too, Please any one give the suggestions.

---

<div class="post-metadata">

**Author:** ![CharlesDorsett](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/charlesdorsett/32/47_2.png) [@CharlesDorsett](https://community.rapyd.net/u/CharlesDorsett)\
**Post date:** [November 17, 2022, 11:48am UTC](https://community.rapyd.net/t/why-webhook-is-not-hitting-in-server-mean-while-it-works-perfectly-in-local-by-using-ng-rock/58131/3 "2022-11-17T11:48:34Z")

</div>

That’s very strange behavior. Just checking … did you change the webhook URL configuration in the Client Portal?

See [Defining a Webhook Endpoint](https://docs.rapyd.net/client-portal/docs/defining-a-webhook-endpoint)

---

<div class="post-metadata">

**Author:** ![gazeeb](https://avatars.discourse-cdn.com/v4/letter/g/f17d59/32.png) [@gazeeb](https://community.rapyd.net/u/gazeeb)\
**Post date:** [November 18, 2022, 5:19am UTC](https://community.rapyd.net/t/why-webhook-is-not-hitting-in-server-mean-while-it-works-perfectly-in-local-by-using-ng-rock/58131/4 "2022-11-18T05:19:50Z")

</div>

yes. i changed the webhook url .  
i think this problem exist because of invalid ssl certificate ,can u please verify it

Api link provide below  
[https://offsetnowuat.perfectlimited.com:444](https://offsetnowuat.perfectlimited.com:444)

---

<div class="post-metadata">

**Author:** ![Aswanth](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@Aswanth](https://community.rapyd.net/u/Aswanth)\
**Post date:** [November 18, 2022, 8:36am UTC](https://community.rapyd.net/t/why-webhook-is-not-hitting-in-server-mean-while-it-works-perfectly-in-local-by-using-ng-rock/58131/5 "2022-11-18T08:36:17Z")

</div>

Yes. But it’s not working.
