# Webhook test returning 500 Error

**URL:** <https://community.hubspot.com/t/webhook-test-returning-500-error/11596>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [November 12, 2018, 10:04pm UTC](https://community.hubspot.com/t/webhook-test-returning-500-error/11596 "2018-11-12T22:04:26Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [November 12, 2018, 10:04pm UTC](https://community.hubspot.com/t/webhook-test-returning-500-error/11596/1 "2018-11-12T22:04:26Z")

</div>

Testing from

> **[Developers | HubSpot](https://app.hubspot.com/developer/5129297/application/183759/webhooks)**

The Test subscription URL is

[https://reports.instituteforsupplymanagement.org/api/hubspot/transaction.json](https://reports.instituteforsupplymanagement.org/api/hubspot/transaction.json)

This works just fine when using the Workflow to create a contact. But every time the webhook is triggered through the app, it fails and gives no useful error information in the logs.

* * *

POST [https://api.hubspot.com/webhooks/v1/183759/subscriptions/80023/test?portalId=5129297&clienttimeout=14000](https://api.hubspot.com/webhooks/v1/183759/subscriptions/80023/test?portalId=5129297&clienttimeout=14000) HTTP/1.1  
Host: [api.hubspot.com](http://api.hubspot.com)  
Connection: keep-alive  
Content-Length: 319  
Accept: application/json, text/javascript, _/_; q=0.01  
Origin: [https://app.hubspot.com](https://app.hubspot.com)  
X-HubSpot-CSRF-hubspotapi: cJNfBQTiov6qET5s\_gSKuw  
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36  
content-type: application/json  
Referer: [Developers | HubSpot](https://app.hubspot.com/developer/5129297/application/183759/webhooks)  
Accept-Encoding: gzip, deflate, br  
Accept-Language: en-US,en;q=0.9  
Cookie: \_\_cfduid=d7e2dd07a285399b8d7eda1a550a7adb71525378272; \_ga=GA1.2.697986784.1532445824; hubspotutk=27a616581ae540454d68f04048fe8ea8; prefs=0; hubspotapi-prefs=0; cookieverified=1; \_\_hluid=25c2d8cf-8427-4ab0-b9f8-3ccc79c10cd3; \_gcl\_au=1.1.1523560021.1537568217; hs-ard=1541782155115; \_gid=GA1.2.1948606762.1542035090; \_\_idcontext=eyJjb29raWVJRCI6IklaUkFJU1gzQU01VjdKQkMzRlJSUjZBMkkzVDY0UDdaTFdYMkRaUExZVlZRPT09PSIsImRldmljZUlEIjoiSVpSQUlTVURKSUdITk9SMzJGN1RYWlpLS1BQWldGN1JLVFdPVldHWjZaT0E9PT09IiwiaXYiOiJQTUFZT1ZQUE0zRExJUTdJTElPVFFUN0U0UT09PT09PSIsInYiOjF9; \_\_hssrc=1; hubspotapi-csrf=cJNfBQTiov6qET5s\_gSKuw; \_\_cfruid=f8f4775d3c0c014946e09eb8db3704a0a1addb21-1542053869; csrf.app=cJNfBQTiov6qET5s\_gSKuw; csrf.api=xhZyMod3pWbthtQDSarxNw; \_\_hstc=20629287.27a616581ae540454d68f04048fe8ea8.1536944611203.1542056994118.1542059440120.40; \__hssc=20629287.1.1542059440120; hubspotapi=AJXaV51lkI-mRCiGnnCfMPsFRFtt7m83KjY0dNsky4A8PNCEFz2RwzAIscexeV1SjsSmORjaQUtqAB4IbZVzD2Ds92G6QUEKEJvXzi6hYsuX3WpgBA4TwrAoU1pXbw3xMNtF0ZsWziur1oebtqkV-pnl\_CShl7CI1Bem9GPKa8WnaeoCoQyLKqrXbnKKLW3VK1RbcKngLye2d28qO1WEZt6RRR-kWM9G9ERfySrazps8bh5cy1pJrJL-durkJqrC6bNLPscQJqzlh91UBt-fPdT7PWPCovWWdsBJ8fWOCccUrWW92YZijkd3jMjcyhGMMdhQD4deCJjtLs55e0Awz8Mw8AsIbIx6nP3SZPG\_pLxfNbSta4Lr\_izT42Ounfum6j7yRDMGM1yvipe1fW7fMbHq94hHO32d-Zo\_YzXb5SaDFcGC3viHmqMggXVDWngwXpjgO8qfBI-aUFcv7stlo7rXaqcd38xnCqFr7DqAPYtvDVDoqkdhL4-wjZtKgtnd0K6BxcfHT7vU3-tn6z99d3o6eMOLkzcu-uz9sTTa4_-eln42whfjxqMnNLwiTl2QGWuaCr07fHpTZin0Mnj\_fSShyRG7m9y4H7T01OXsdolF8DnP5PVLiL19-cSydg5s5V1trqSgAqbJIpcsC2pD\_t2LNH3McRlFciUuScw59row5-heJHuaekFScd80t1NITol3tyM92fI7c1ARwUctP7dZf2PVTGVWZzlYdoJuOOpZ5FbqQawrdsnxf1Zo1j\_uksxvxF1WzYdg; hubspotauth=EfXlZmrwqZ0Z5F8frrPJjeewt3xGZ5amFOeTgnyOVlsPGJ7pK6s9//uBzfu1/5GvmmFC/7ze2VmGbQY/oNgassWCyu0s0F8DB49KaclrfMIR6XS7kgpLbSsO1IN/m7Ulq5PKtOrQntX7XRIz+XGAHToTLVnMbnZO92IefPja+EH2ZfcNIbINNxktgSNWUEWnuMSAtI0f+F2PTDplZYWKeQ==; hubspot.hub.id=5129297

{“samplePayload”:{“eventId”:1,“subscriptionId”:80023,“portalId”:5129297,“occurredAt”:1542060002079,“subscriptionType”:“contact.creation”,“attemptNumber”:0,“objectId”:123,“changeSource”:“CRM”,“changeFlag”:“NEW”,“appId”:183759},“webhookUrl”:“[https://reports.instituteforsupplymanagement.org/api/hubspot/transaction.json](https://reports.instituteforsupplymanagement.org/api/hubspot/transaction.json)”}

* * *

Response

HTTP/1.1 500 Internal Server Error  
Date: Mon, 12 Nov 2018 22:00:28 GMT  
Content-Type: application/json;charset=utf-8  
Content-Length: 147  
Connection: keep-alive  
X-Trace: 2B4F0F1EA55997A70B2056C141EF398FAB28A3C20E000000000000000000  
Access-Control-Allow-Origin: [https://app.hubspot.com](https://app.hubspot.com)  
Access-Control-Allow-Methods: GET, OPTIONS, PUT, POST, DELETE, PATCH, HEAD  
Access-Control-Allow-Headers: Authorization, Origin, X-Requested-With, Content-Type, Accept, Accept-Charset, Accept-Encoding, X-Override-Internal-Permissions, X-Properties-Source, X-Properties-SourceId, X-Properties-Flag, X-Hubspot-User-Id, X-Hubspot-Trace, X-Hubspot-Callee, X-Hubspot-Offset, X-Hubspot-No-Trace, X-HubSpot-Messages-Uri, X-HubSpot-Request-Source, X-HubSpot-Request-Reason, Subscription-Billing-Auth-Token, X-App-CSRF, X-Tools-CSRF, Online-Payment-Signing-UUID, X-Source, X-SourceId, X-Origin-UserId, X-Biden-Request-Source, X-HubSpot-CSRF-hubspotapi, X-Force-Cookie-Refresh, X-Force-Cookie-Refresh-No-Cache, X-HS-User-Request, X-Application-Id, X-HS-Referer  
Access-Control-Expose-Headers: x-last-modified-timestamp, X-HubSpot-NotFound, X-HS-User-Request, Link, Server-Timing  
Access-Control-Allow-Credentials: true  
Access-Control-Max-Age: 604800  
Timing-Allow-Origin: \*  
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload  
Expect-CT: max-age=604800, report-uri=“[https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct](https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct)”  
Server: cloudflare  
CF-RAY: 478c45856a1a39a6-PHX

{“status”:“error”,“message”:“internal error”,“correlationId”:“b8245a82-52b5-49a7-abe1-0a35def1b763”,“requestId”:“21dcd957ca89f45b7704a0eca965f281”}

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [November 12, 2018, 10:42pm UTC](https://community.hubspot.com/t/webhook-test-returning-500-error/11596/2 "2018-11-12T22:42:26Z")

</div>

[

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/5/15b97eec5711b7e0ca1e4b32270e6de1af72ac21.png)

Capture.PNG655x872 27.3 KB

]([https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/9/97af573995ec40e4615cdf07d8343aa8c5b4f23e.png](https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/9/97af573995ec40e4615cdf07d8343aa8c5b4f23e.png))

I’m getting the same error when using

[https://webhook.site/18f8faca-d643-4885-8433-51fed2180fb9](https://webhook.site/18f8faca-d643-4885-8433-51fed2180fb9)

as the end point. It’s saying “connection refused”

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [November 13, 2018, 5:20pm UTC](https://community.hubspot.com/t/webhook-test-returning-500-error/11596/3 "2018-11-13T17:20:25Z")

</div>

I realized I had the wrong endpoint in the second test, it works with

[https://webhook.site/18f8faca-d643-4885-8433-51fed2180fb9](https://webhook.site/18f8faca-d643-4885-8433-51fed2180fb9)

it also works with

> **[PursePoor.com](https://pursepoor.com)**

Both sites use Let’s Encrypt for the SSL certs.

However, it doesn’t work with

[https://reports.instituteforsupplymanagement.org/api/hubspot/transaction](https://reports.instituteforsupplymanagement.org/api/hubspot/transaction)

which uses GoDaddy as the issuer of the SSL Cert.

It appears as though the issue is that HubSpot is not properly configured to respect certificates

* * *

POST [https://api.hubspot.com/webhooks/v1/183759/subscriptions/80023/test?portalId=5129297&clienttimeout=14000](https://api.hubspot.com/webhooks/v1/183759/subscriptions/80023/test?portalId=5129297&clienttimeout=14000) HTTP/1.1  
Host: [api.hubspot.com](http://api.hubspot.com)  
Connection: keep-alive  
Content-Length: 263  
Accept: application/json, text/javascript, _/_; q=0.01  
Origin: [https://app.hubspot.com](https://app.hubspot.com)  
X-HubSpot-CSRF-hubspotapi: KUt-MJpRHR8x2qQVWbzhnA  
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36  
content-type: application/json  
Referer: [Developers | HubSpot](https://app.hubspot.com/developer/5129297/application/183759/webhooks)  
Accept-Encoding: gzip, deflate, br  
Accept-Language: en-US,en;q=0.9  
Cookie: \_\_cfduid=d7e2dd07a285399b8d7eda1a550a7adb71525378272; \_ga=GA1.2.697986784.1532445824; hubspotutk=27a616581ae540454d68f04048fe8ea8; prefs=0; hubspotapi-prefs=0; cookieverified=1; \_\_hluid=25c2d8cf-8427-4ab0-b9f8-3ccc79c10cd3; \_gcl\_au=1.1.1523560021.1537568217; hs-ard=1541782155115; \_gid=GA1.2.1948606762.1542035090; \_\_idcontext=eyJjb29raWVJRCI6IklaUkFJU1gzQU01VjdKQkMzRlJSUjZBMkkzVDY0UDdaTFdYMkRaUExZVlZRPT09PSIsImRldmljZUlEIjoiSVpSQUlTVURKSUdITk9SMzJGN1RYWlpLS1BQWldGN1JLVFdPVldHWjZaT0E9PT09IiwiaXYiOiJQTUFZT1ZQUE0zRExJUTdJTElPVFFUN0U0UT09PT09PSIsInYiOjF9; \_\_hstc=20629287.27a616581ae540454d68f04048fe8ea8.1536944611203.1542061373189.1542127076567.42; \_\_hssrc=1; hubspotapi-csrf=KUt-MJpRHR8x2qQVWbzhnA; _cfruid=6e6183b018e82e322573f5dfb030e8b9c0804963-1542127084; csrf.app=KUt-MJpRHR8x2qQVWbzhnA; csrf.api=utNB30DFSlJS5RFSsd58ew; hubspotauth=EfXlZmrwqZ0Z5F8frrPJjeewt3xGZ5amFOeTgnyOVlsPGJ7pK6s9//I3QJtu9CcutrvvIEfNZASGbQY/oNgassWCyu0s0F8DB49KaclrfMIR6XS7kgpLbSsO1IN/m7Ulq5PKtOrQntX7XRIz+XGAHToTLVnMbnZO92IefPja+EH2ZfcNIbINNxktgSNWUEWnv4LETUa28iaC1VDO7YZfVQ==; hubspot.hub.id=5129297; hubspotapi=AJXaV52kHJLvZA2oCf7x7cZv9JHa6XPlxGR6wPcKyKsCboSZoPwJb8lhN\_hXs9rx2nRwKKqBY8u41KHt8Jkfu\_q9BNUHaYjHQWxI1yXSyx1fqmjMdMOHfDhvfuOj1OkEKO\_kBbSiZBgesn9zxhQPwmilrKndFxJPJRrEDzHPaMoFfzLENVk531gDGjdQc4g2mUu1NzaFMqhV7yTYpI5v\_sgbCfLDxy5ZqJ4gZWN4ee1sY46OaZz\_mk6Q7N\_55sHxOG8\_xI4aJKNoHy9voeoLQLa3Y2c21NGHXFh0svUXHMGybyF8xvkoqQUf-opVM\_vNqo--g0ruDpezAGFKZfCGpnoi9\_9F25cAIT-r6hid7F4lqATQELRshNtGtMIS1LP7bDAu7_-6\_z\_Fc1js22baKb6O\_iDkwhGgzVRs63V170Iyqze8vdzyVOIAnumYZwSyrRktcvx9FLTmFmIdxZRFOq7bWylOmuhQgecguhakATUo4P5pdfdn0yR-PyhlEIs8EhLlAsWWgCVCP96mMfOl-WZhGyT1gCK-HzeJNRD9JwmQlG6gVf9iKnCcpozkCDvm73ISNwhogv0

{“samplePayload”:{“eventId”:1,“subscriptionId”:80023,“portalId”:5129297,“occurredAt”:1542128530842,“subscriptionType”:“contact.creation”,“attemptNumber”:0,“objectId”:123,“changeSource”:“CRM”,“changeFlag”:“NEW”,“appId”:183759},“webhookUrl”:“[https://pursepoor.com](https://pursepoor.com)”}

* * *

HTTP/1.1 200 OK  
Date: Tue, 13 Nov 2018 17:18:46 GMT  
Content-Type: application/json;charset=utf-8  
Connection: keep-alive  
X-Trace: 2B6EA7101329F9DB105469A7C6379166E6D01AC864000000000000000000  
Access-Control-Allow-Origin: [https://app.hubspot.com](https://app.hubspot.com)  
Access-Control-Allow-Methods: GET, OPTIONS, PUT, POST, DELETE, PATCH, HEAD  
Access-Control-Allow-Headers: Authorization, Origin, X-Requested-With, Content-Type, Accept, Accept-Charset, Accept-Encoding, X-Override-Internal-Permissions, X-Properties-Source, X-Properties-SourceId, X-Properties-Flag, X-Hubspot-User-Id, X-Hubspot-Trace, X-Hubspot-Callee, X-Hubspot-Offset, X-Hubspot-No-Trace, X-HubSpot-Messages-Uri, X-HubSpot-Request-Source, X-HubSpot-Request-Reason, Subscription-Billing-Auth-Token, X-App-CSRF, X-Tools-CSRF, Online-Payment-Signing-UUID, X-Source, X-SourceId, X-Origin-UserId, X-Biden-Request-Source, X-HubSpot-CSRF-hubspotapi, X-Force-Cookie-Refresh, X-Force-Cookie-Refresh-No-Cache, X-HS-User-Request, X-Application-Id, X-HS-Referer  
Access-Control-Expose-Headers: x-last-modified-timestamp, X-HubSpot-NotFound, X-HS-User-Request, Link, Server-Timing  
Access-Control-Allow-Credentials: true  
Access-Control-Max-Age: 604800  
Timing-Allow-Origin: \*  
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload  
Expect-CT: max-age=604800, report-uri=“[https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct](https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct)”  
Server: cloudflare  
CF-RAY: 4792e6405b4e39d0-PHX  
Content-Length: 18

{“statusCode”:200}

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [November 13, 2018, 5:23pm UTC](https://community.hubspot.com/t/webhook-test-returning-500-error/11596/4 "2018-11-13T17:23:36Z")

</div>

[

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/7/a/7a19da1deb0ab515f69565127f047f294393a929.png)

godaddy.PNG403x511 10.9 KB

]([https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/8/8bdcec5397222757f01912a7998a043ce510b423.png](https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/8/8bdcec5397222757f01912a7998a043ce510b423.png))

[

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/6/96d4cf5196b1751093c7da4310a9588be3b52b10.png)

letsencrypt.png401x511 10.9 KB

]([https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/6/6684bdc646846e6e72465bcc78e0799d1c88533a.png](https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/6/6684bdc646846e6e72465bcc78e0799d1c88533a.png))

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [November 13, 2018, 9:36pm UTC](https://community.hubspot.com/t/webhook-test-returning-500-error/11596/5 "2018-11-13T21:36:08Z")

</div>

The issue appears to be that Hubspot does not like the Wildcard SSL certificate. Or doesn’t like GoDaddy’s Certificate Authority which is less likely.

Setting up a second domain with a single site SSL using Let’s Encrypt took care of the issue.

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [November 13, 2018, 10:29pm UTC](https://community.hubspot.com/t/webhook-test-returning-500-error/11596/6 "2018-11-13T22:29:58Z")

</div>

Thanks for this feedback, [@bkucenski](https://community.hubspot.com/u/bkucenski)! I’ll make a note and keep an eye out for these types of issues going forward.

---

<div class="post-metadata">

**Author:** ![LiamJohannes](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/liamjohannes/32/68653_2.png) [@LiamJohannes](https://community.hubspot.com/u/LiamJohannes)\
**Post date:** [May 30, 2019, 7:30am UTC](https://community.hubspot.com/t/webhook-test-returning-500-error/11596/7 "2019-05-30T07:30:34Z")

</div>

@IsaacTakushi has there been any resolution or findings on this? I am suffering from the same issues as explained above. My server side is also using a wildcard SSL certificate issued by GoDaddy.

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [June 6, 2019, 8:43pm UTC](https://community.hubspot.com/t/webhook-test-returning-500-error/11596/8 "2019-06-06T20:43:54Z")

</div>

Hi, @LiamJohannes.

I don’t have an update to report on this, but let’s continue the conversation in [this thread](https://community.hubspot.com/t5/APIs-Integrations/Test-Webhooks-returning-error/m-p/273140/highlight/true#M24814).

---

<div class="post-metadata">

**Author:** ![narainsagar](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/narainsagar/32/48165_2.png) [@narainsagar](https://community.hubspot.com/u/narainsagar)\
**Post date:** [September 23, 2019, 2:04pm UTC](https://community.hubspot.com/t/webhook-test-returning-500-error/11596/9 "2019-09-23T14:04:12Z")

</div>

Hello Community,

I am having the same issue while creating webhook and test returns 500 error..

Here’s my webhook POST method url:

[https://staging.dotandlinelearning.com/backend/api/hubspot/webhook](https://staging.dotandlinelearning.com/backend/api/hubspot/webhook)

^ This POST method actually fetches the deal information and associated contact information from the payload-\>objectId and saves information into my DB table..

Here’s the test response:

{ “statusCode”: 500 }

You may also check this screenshot:

 ![Screen Shot 2019-09-23 at 6.58.57 PM.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/4/3/43647234a7d911a70d2da2b59b7e40bf0ba66786.png)  
webhook test

Following is my SSL certificate information screenshot:

 ![Screen Shot 2019-09-23 at 7.03.39 PM.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/4/4f0cc53b98a392a83d2124a38ea3b7da027334b1.png)

**UPDATED:**

Moreover; I also have changed the ssl certificate from wildcard to single site ssl. and it still doesn’t work i.e., returning the same 500 error.

P.S. Here’s the single site SSL info:

 ![Screen Shot 2019-09-24 at 5.53.10 PM.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/e/4/e40cffa4b75ff3a53a177ebb8a1431209887dbb1.png)

I 'd like this be working as soon as possible, could anyone please help me fix this issue.

Thanks.

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [September 24, 2019, 3:01pm UTC](https://community.hubspot.com/t/webhook-test-returning-500-error/11596/10 "2019-09-24T15:01:29Z")

</div>

Hi, @narainsagar.

I’m sorry to hear that you’re encountering these `500` errors, even after trying the recommendations above.

I haven’t diagnosed the cause yet, but could you help me by answering a few clarifying questions?

1. Are you able to successfully POST the sample data through a REST client like Postman?
2. Per the original poster’s comment, does the same webhook URL work in a workflow webhook action? You should have access to workflows in your developer test account ending in **9821**.

---

<div class="post-metadata">

**Author:** ![du-it](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/du-it/32/76463_2.png) [@du-it](https://community.hubspot.com/u/du-it)\
**Post date:** [February 11, 2020, 5:09pm UTC](https://community.hubspot.com/t/webhook-test-returning-500-error/11596/11 "2020-02-11T17:09:33Z")

</div>

I have a similar problem: I always get a ‘Connection refused’:

‘Webhook attempt failed due to a refused connection.’

I can reach the endpoint from Postman successfully but when doing some property changes in HubSpot I find the failed notification under monitoring/webhooks.

--\> [https://community.hubspot.com/t5/APIs-Integrations/How-to-reach-the-webhook-application-defined-in-the-redirect-url/m-p/317329](https://community.hubspot.com/t5/APIs-Integrations/How-to-reach-the-webhook-application-defined-in-the-redirect-url/m-p/317329)

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [February 12, 2020, 4:04pm UTC](https://community.hubspot.com/t/webhook-test-returning-500-error/11596/12 "2020-02-12T16:04:15Z")

</div>

Hey, @du-it.

I’ve responded in [this other thread](https://community.hubspot.com/t5/APIs-Integrations/How-to-reach-the-webhook-application-defined-in-the-redirect-url/m-p/318633/highlight/true#M30553).
