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โ
}
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.
User | Count |
---|---|
39 | |
35 | |
29 | |
23 | |
18 |