01-13-2023 11:03 AM
Hello,
We collected about 1.5 days worth of Webhooks back in October 2022 from a client.
Certain Webhook Types had missing "createdTime" keys under their "data".
This appeared to happen with about 1/2 of the "task:ended" and all of the "task:on-hold" Webhooks. We are able to fix some of the Webhook "createdTime" values by using a matching Webhook "id" from a "agent:state_change" Webhook. If we cannot find a matching Webhook "id" with a valid "createdTime", we have to rely on the current Unix timestamp of our webserver that the Webhooks are being sent to, which is not ideal as we have seen differences of a few seconds due to travel time and the fact each server's time clocks are not synced.
Total Webhooks received: 52522
Webhooks received by Type:
webhook_type | count |
agent:login | 94 |
agent:logout | 216 |
agent:state_change | 22300 |
capture:available | 3660 |
task:conferencing | 2 |
task:connect | 5978 |
task:connected | 4509 |
task:consult-done | 50 |
task:consulting | 136 |
task:ended | 6514 |
task:hold-done | 187 |
task:new | 6493 |
task:on-hold | 323 |
task:parked | 2060 |
Webhooks Received with Null "createdTime":
webhook_type | count |
task:ended | 3250 |
task:on-hold | 323 |
01-18-2023 08:19 AM
Thanks, BlakeR,
Yes, the taskID, I believe this taskID '49036f7b-ceed-410e-8581-32eda14c1cf5' is from October and we store logs only for the last 30days, Do you have a more recent example, if so, please do share the taskID.
01-18-2023 08:37 AM
Unfortunately, we do not have any recent taskIDs to share. In the next month or so, we should be working with another client. I'll reply to this thread with examples from those taskIDs if the issue is still present.
01-17-2023 11:03 AM
Hi BlakeR,
Could you provide the interactionID of the call which does not have 'createdTime' in task:ended and task:on-hold events?
Does this happen only during hold scenario?
01-18-2023 07:16 AM
Do you mean the "taskId"? I don't see a interactionID key in the in any of the Webhooks we received. One "taskId" sample that has both "task:ended" and "task:on-hold" Webhooks with missing "createdTime" keys is "49036f7b-ceed-410e-8581-32eda14c1cf5".
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide