Metadata Injection Failed for One Call
# support
n
I’ve got an issue with {{customer.number}}. In almost all calls, the variable gets rendered into the system prompt normally (the full phone number shows up in the OpenAI payload). But in one specific call, the variable didn’t render at all. The system prompt was missing the phone number completely, which made the model hallucinate the last two digits (“52”). Nothing changed on my side between calls, so it looks like interpolation just failed for that run. Can someone check why {{customer.number}} didn’t get injected for that call? Here is the call id: 019a9846-0c1b-722d-b0e1-f120a57501fd
@User Can you help
c
Hey! To help track down this issue, could you share: \- When exactly this happened (the timestamp) \- What response you expected to get \- What response you actually got instead This would really help us figure out what went wrong!
n
Hello -The call happend around 11/18/2025-22:41 time -I expected the AI to confirm the number of the caller from the metadata during the call, which didn't do and it fabricated the number 52 which is rare because we use the {{customer.number}} dynamic variable to confirm number and this has never happend before If you need more information let me know, Thanks
What do you think is the cause
@User Please get back to me on this ASAP, as we are shipping our product and we don't want this kinda setbacks
c
{{customer.number}} was correctly injected into the call data, but the model hallucinated or had a reasoning error. To mitigate this, you can replace the variable in the prompt with more explicit instructions (since the assistant will have access to the variable)
Copy code
"confirm by reading back the final two digits at the very end of their phone number"
3 Views