(Open ai realtime) The server had an error while processing your request. Sorry about that!

I’ve been running into this error a lot using gpt-realtime through pipecat package, is there a cause or reason for it to happen?

A fatal error occurred: ErrorFrame#11(error: The server had an error while processing your request. Sorry about that! Please contact us through our help center at ``help.openai.com`` if the error persists. (include session ID in your message: sess_CpXiXDvntsA7PRZOVS55H). We recommend you retry your request., fatal: True)

Sorry about that @Saif_Kharouf :frowning:

I will able to find your session. This is from an assert on our side. I believe it’s because of transcriptions.

I will work on getting more info today!

1 Like

This happens right after we get a conversation.item.truncate (takes it down to 0)

Then right after I see AssertionError: New text length 0 is less than last length 726. I think we have some interaction where Truncation is breaking things.

Is it easy to disable sending those truncates in pipecat and see if that makes the bug go away?