Webhook not passing data when using different origins

lma

Member
Hi,

I'm sending data to a webhook from 2 different origins. They both have the same Json structure but when I capture the response of the webhook for the first time from 1 origin, the other one doesn't pass the data correctly and the other way around...

Both origins send a Json like this to the webhook, same format for both

{
"AccountId": "615ef4fadadae4be3e5ah85e1jjfd6190",
"SubscriptionType": "ACCOUNT_INCOMING_BLOCKCHAIN_TRANSACTION",
"Amount": "9",
"Reference": "c8adad957103-f8b2-4327-9c4f-aa178cfdffeb",
"Currency": "MATIC",
"TxId": "0xe237221eaa48141f01bdsffsf0beaf6426dbdaba810bebd8dc7a9a8a4b67242fe2d0c0",
"BlockHeight": 24550dd403,
"BlockHash": "0x794e7f17f951498ada65078a83ad7763915cdc84b2c1f8b53b287768a2f593b0dff",
"From": "0x4dc9336663de4badad1a1a882e96b120f030f00c3138",
"To": "0x2c4384026c6896dc02725c38b7afa1ada9389ced90e5",
"Date": 1644000046041,
"Index": null
}

What is the problem?

Example of a successful automation (Origin A): Task ID - IjkxNDIxNTUwIg_3D_3D executed at Feb 04, 2022 17:00:35
Example of a failed automation being filtered incorrectly because no data is being passed on that parameter (Origin B): Task ID - IjkxNDcwODI0Ig_3D_3D executed at Feb 04, 2022 19:40:50

Flow url: https://connect.pabbly.com/workflow/mapping/IjE1MzUzMyI_3D
 
P

Pabblymember11

Guest
Hey @lma

If the point of origin of your Webhook data is different, then kindly use another workflow and if your workflow is identical then you can simply clone it and set the webhook trigger according to the source that would be easy to use.

Example of a failed automation being filtered incorrectly because no data is being passed on that parameter (Origin B): Task ID - IjkxNDcwODI0Ig_3D_3D executed at Feb 04, 2022 19:40:50
Regarding the failed execution of the task is because you are comparing the alphanumeric account Id with a decimal number. Kindly compare the values which are numerical only.


2022-02-05_11h39_04.png
 
Top