APIs & Integrations

GBulleri
Participante

Webhook URL not accepted

resolver

Hi,

I opened a ticket at the official support but still no answers!

May be that the commnunity can help me!!

 

When, from my developer account, I write a valid URL into the webhook target URL field, after clicking SAVE Hubspot raises an error inviting me to contact tech support:

"Something went wrong when saving you changes". I tried many times and in different days.

GBulleri_0-1637766221401.png

 

May be an SSL issue?

Thank you

 

 

 

0 Me gusta
2 Soluciones aceptadas
dennisedson
Solución
Equipo de producto de HubSpot
Equipo de producto de HubSpot

Webhook URL not accepted

resolver

@GBulleri ,

I think the underscore is the issue.  You will also need to have SSL for that url.

You could do a quick test removing the underscore and see if  that is accepted. 

Ideally, you will be able to update that underscore to a dash for your app

Ver la solución en mensaje original publicado

GBulleri
Solución
Participante

Webhook URL not accepted

resolver

Hi,

thank you for you answer.

I just finished now and I explain to the community what happened:

 

The webhook listener was a webservice (ASMX): I realized that an ASMX webservice cannot accept

json arrays  because the .NET dictionary raises a fatal error.

A  not-array payload is working fine!!...but HubSpot send arrays.....

 

I replaced the ASMX with a Powershell script and now everything is working fine: just completing the test

 

Thank You

 

 

 

 

 

 

 

 

 

 

 

 

Ver la solución en mensaje original publicado

5 Respuestas 5
GBulleri
Solución
Participante

Webhook URL not accepted

resolver

Hi,

thank you for you answer.

I just finished now and I explain to the community what happened:

 

The webhook listener was a webservice (ASMX): I realized that an ASMX webservice cannot accept

json arrays  because the .NET dictionary raises a fatal error.

A  not-array payload is working fine!!...but HubSpot send arrays.....

 

I replaced the ASMX with a Powershell script and now everything is working fine: just completing the test

 

Thank You

 

 

 

 

 

 

 

 

 

 

 

 

dennisedson
Solución
Equipo de producto de HubSpot
Equipo de producto de HubSpot

Webhook URL not accepted

resolver

@GBulleri ,

I think the underscore is the issue.  You will also need to have SSL for that url.

You could do a quick test removing the underscore and see if  that is accepted. 

Ideally, you will be able to update that underscore to a dash for your app

GBulleri
Participante

Webhook URL not accepted

resolver

Hi,

thanks to you suggestion I was able to go ahead with the webhook development.

My webhook is now working but it is raising error 500;  If I run it by postman everything is fine (please look at the attached image)
GBulleri_0-1637917008475.png

 

 
Can you help me to understand why I see error 500?
 
Regards
 
0 Me gusta
dennisedson
Equipo de producto de HubSpot
Equipo de producto de HubSpot

Webhook URL not accepted

resolver

@GBulleri 

Is this issue persisting?

0 Me gusta
GBulleri
Participante

Webhook URL not accepted

resolver
Hi,
you are right: the underscore is the issue!!!

Thank You very much!