This message was deleted.
# ask-ai
s
This message was deleted.
t
Thanks for reaching out, Aleh. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Could you confirm if the metadata being passed in the
dispatch create
command is correctly formatted as JSON? For example, ensure that the
--metadata
value is a valid JSON string, such as
'{"key": "value"}'
. If possible, please share the exact metadata string you are using.
Hey there! I noticed something that might be causing a small hiccup with your JSON metadata. Those HTML tags you've got in the phone_number value? They're actually throwing off the JSON formatting and causing a JSONDecodeError. No worries, though! It's an easy fix. Just remove those HTML tags and make sure your metadata is a clean, valid JSON string. I'd recommend something like this:
Copy code
--metadata '{"phone_number": "+375296411111"}'
Give that a try, and I bet it'll clear things right up. Let me know if you need any more help! Sources: SIP dispatch rule | LiveKit Docs
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!