Platform SDK for JS - we’re getting inconsistent data in our webhooks. It’s for call recordings completed events. Sometimes the recordingUri field is completely missing from the event body.
We’ve checked the Architect flow - the recording is definitely being created. The flow publishes the event with the “recording completed” topic. It’s a pretty basic setup, just a recording trigger and event published action. The webhook endpoint is registered correctly, subscription is active.
Here’s a sample of a good event:
{
"eventTime": "2024-02-29T15:00:00.000Z",
"topicName": "recording.completed",
"payload": {
"conversationId": "conversation-id-123",
"recordingUri": "https://storage.example.com/recordings/...",
"recordingId": "recording-id-456"
}
}
But we also see events like this:
{
"eventTime": "2024-02-29T15:01:00.000Z",
"topicName": "recording.completed",
"payload": {
"conversationId": "conversation-id-789",
"recordingId": "recording-id-012"
}
}
SDK version is purecloud-platform-client-v2 - latest. It’s happening in production. Feels random.