I'm storing two string values in metadata, it's working as the webhook is successfully retrieving tham. In the logs section of Vapi, I only see two empty strings in every call.
Vapi helps developers build, test, and deploy voice agents at scale. We enable everything in between the raw models and production, including telephony, test suites, and real-time analytics.
@Godefroy @Lonestone It's great to hear that your webhook is successfully retrieving the metadata. If you're seeing two empty strings in the logs for every call, it might be due to the metadata not being set correctly before the call is logged, or there could be an issue with the way the metadata is being captured or displayed in the logs.
To troubleshoot this issue, you can:
Verify that the metadata is being set with the correct values before the call is logged.
Check if there is any code that might be overwriting the metadata with empty strings before the logging occurs.
Review the logging configuration to ensure that metadata is being included correctly.
If you have access to the code that sets the metadata, add additional logging there to confirm the values are as expected before they are sent to Vapi.
If you've already checked these points and the issue persists, please provide more details or the relevant code snippets, so I can assist you further. If you need more specific help with the Vapi logs, you might want to reach out to their support for more detailed assistance.
Why? That's confusing and I didn't find any documentation explaining that. In my webapp it's the client that set the metadata and my webhook is receiving it well.
Let me explain to you about metadata, it is basically a parameter used to store certain data which is related to your usage. For example: you want to have a client_id associated with the user who is making a call it is useful for your use case to figure out the data related to him.