Webhook Response

161 views
Skip to first unread message

Christhemist

unread,
Feb 4, 2021, 5:45:40 PM2/4/21
to XMPie Interest Group
I am trying to use a webhook touchpoint to update a sql database but I am getting this error:

"Webhook did not respond in a timely manner" 

Using postman I can confirm my URL is updating the database using the POST value correctly. 

Is there a specific response the webhook touchpoint is expecting? 

Any help would greatly be appreciated. 

Thank you. 

couch

unread,
Feb 7, 2021, 7:13:52 PM2/7/21
to XMPie Interest Group
Perhaps a code sample would help? Also, you don't mention which webhook you are using?
Message has been deleted

Christhemist

unread,
Feb 8, 2021, 11:30:23 AM2/8/21
to XMPie Interest Group
This is pseudo of what I am trying to do. Said php script takes the POST data, in this case the ID and updates the record in SQL. 

url.com/updateDatabase.php

json body: 

{
    "id ": " {{ID}}"
}

couch

unread,
Feb 8, 2021, 4:01:37 PM2/8/21
to XMPie Interest Group
I tested with the same webhook.site you suggested, and I don't get your result:

setup.jpg
result.jpg

Clicking "log" in circle shows the expected "200" http response.

Christhemist

unread,
Feb 9, 2021, 2:07:14 PM2/9/21
to XMPie Interest Group
Not sure how you got the webhook.site to switch from GET to POST?

Calidad Grafica Real

unread,
Feb 9, 2021, 3:47:25 PM2/9/21
to XMPie Interest Group
Hola, yo tuve el problema con SMS. Y era porque Circle necesita tener una conexión HTTPS (SSL) para que pueda enviar (POST) a una URL de destino.
Agregué un SSL en mi servidor destino y logré hacerlo funcionar.

Saludos,

Yeiser


ADVERTENCIA LEGAL:
Este mensaje puede contener información confidencial dirigida exclusivamente a su destinatario. No se permite su copia o distribución de este mensaje sin la autorización expresa y por anticipado de la empresa Imprenta Editora Gráfica Real S.A.C. Si recibió este mensaje por error, por favor, comuníquelo al emisor y elimínelo de su ordenador. Gracias.

Imprenta Editora Gráfica Real S.A.C. - Todos los derechos Reservados.
Área de Tecnologías de la Información.

T. 044-253324 | RPM #214279 | RPC 978375595 | Nextel 839*5902
Jr. Independencia 953 - Trujillo, Perú

Christhemist

unread,
Feb 9, 2021, 4:23:12 PM2/9/21
to XMPie Interest Group
Thank you for your response, Calidad. However, I have a SSL on the destination server. 

couch

unread,
Feb 9, 2021, 10:01:51 PM2/9/21
to XMPie Interest Group
External Touchpoint will only work with PUT or POST.
GET is not an available option.

Christhemist

unread,
Feb 10, 2021, 12:10:39 PM2/10/21
to XMPie Interest Group
There was a space in my JSON body that was causing the issue, ugh! 

Change this: 
{
    "id ": " {{ID}}"
}

To this: 

{
    "id ": "{{ID}}"
}

Thanks for all your effort couch!



Reply all
Reply to author
Forward
0 new messages