https://retellai.com/?utm_source=discord&utm_medium=seo logo
Webhook events are failing to verify
# ❓・bug-report
c
Only the call_start event is verified, the others are failing the verification.
I think I found the cause, this is happening when the transcript includes spanish accents (e.g. é, í, ó). In the prompt I tell the agent to read a paragraph, the text has the word "Buendía". If I change it to "Buendia" it works. For the former case the transcript shows as "Buend\u00eda". Maybe this is related to how we dump the json before verification? Is there any solution @Weijia - Support@Retell @NJ @Zexia - Retell AI ?
Adding ensure_ascii=False to the JSON dump seems to fix the issue. But maybe it creates other ones? We need confirmation that the verification won't break
n
Let me take this to the team internally and see! Thanks @cuarzo7115 for investigating
y
Same problem here. I have applied the temporary solution that @cuarzo7115 gave, but it would be great to have a permanent fix from Retell.
m
My transcripts are in English and I still have the webhook verification failing randomly with calls that are bigger than 10 minutes. My webhook verification code is the same as the one in the documentation. Any updates on this? @NJ @Zexia - Retell AI
v
For us using ensure_ascii=False fixed the issue
w
I'll have to try the ensure_ascii fix. I got around it randomly failing verification by whitelisting the RetellAI ip address but still logging when this happens