Webhook Trouble

Hi , i am trying to execute the webhook. From the monitor app the webhook appears to have executed successfully. However , nothing happens in the table that i try to add a row to.
Below is the output of the monitor app :

2
Name
step1
Created TimeStamp
6/26/2021 1:07:59 PM
Output data
{
โ€œWorkDayโ€: โ€œ01/19/2011โ€
}
Task Properties
{
โ€œTask Typeโ€: โ€œWebhookโ€,
โ€œTask Nameโ€: โ€œadd_all_driversโ€,
โ€œUrlโ€: โ€œhttps://api.appsheet.com/api/v2/apps/8bc969fa-81df-4f59-8ee8-ca2dd9b1cc4c/tables/DailyTaskList/Actio...โ€,
โ€œVerbโ€: โ€œPostโ€,
โ€œMimeTypeโ€: โ€œapplication/jsonโ€,
โ€œHeadersโ€: โ€œapplicationAccessKey:V2-K1Oam-pVRTd-v3dFB-OjcKV-9u9zY-2cB5a-3UZJe-kf0FQ, _webhookActionDepth:0โ€,
โ€œPayloadโ€: โ€œ{โ€œActionโ€: โ€œAddโ€,โ€œRowsโ€: [{โ€œdateโ€: โ€œ1/19/2011โ€,โ€œdriver_idโ€: โ€œ123,456,789โ€}]}โ€,
โ€œAppTemplateNameโ€: โ€œ8bc969fa-81df-4f59-8ee8-ca2dd9b1cc4cโ€,
โ€œOperationโ€: โ€œChange Botโ€,
โ€œResultโ€: โ€œSuccessโ€
}

0 2 133
2 REPLIES 2

If you check the log analyzer can you see the results of the API call ? You should see the webhook there as well and a row for the Add that is called by the webhook.

If there any reason that you are using a webhook instead of a data action to add the row ?

I had a similar issue and the log analyzer helped me find the issue.

There was a โ€œrequiredโ€ field for which I was not providing a value.

I made the field โ€œnot requiredโ€ and the โ€œ400 Bad requestโ€ error disappeared and my โ€œAdd APIโ€ worked.

Thank you so much for the insights.

Top Labels in this Space