From a flutter frontend it often happens that i se...
# ask-ai
f
From a flutter frontend it often happens that i see an RPC error (Instance of 'RpcError') even if from the backend i can verify that the RPC call has been received successfully. Any idea?
t
Thanks for reaching out, muse. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I'd love to help you get to the bottom of this RPC error! Could you please share a bit more about what you're experiencing? For example: • What exactly does the error message or code say when you see the 'RpcError'? • Have you noticed if certain actions or situations seem to trigger this error? • Which RPC method or feature are you using when this happens? • Also, are you working with a specific version of the LiveKit SDK for Flutter? Having these details will really help us understand the issue better and find a solution together.
f
There is no details, just Instance of 'RpcError'. The rpc method on the backend is: @ctx.room.local_participant.register_rpc_method("artwork_selected") async def artwork_selected(data: rtc.RpcInvocationData): session.interrupt() logger.info(f"Rpc method 'artwork_selected' triggered for {data.caller_identity}") await artwork_handler.handle_artwork_selected(data, session, update_chat_ctx_only=True)
t
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!