Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

envoy error: string field contains invalid UTF-8 #1055

Open
deepakd10 opened this issue Nov 28, 2024 · 1 comment
Open

envoy error: string field contains invalid UTF-8 #1055

deepakd10 opened this issue Nov 28, 2024 · 1 comment

Comments

@deepakd10
Copy link

deepakd10 commented Nov 28, 2024

While trying to send ProcessingResponse_ImmediateResponse, with payload of format different than UTF-8, envoy throws error saying

"error":"rpc error: code = Internal desc = grpc: error while marshaling: string field contains invalid UTF-8"

Content-Type: application/vnd.amazon.eventstream

sample payload

�������R��=��:event-type��messageStart
:content-type���application/json
:message-type���event{"p":"abcdefghijklmnopqrstuvwxy","role":"assistant"}�����������W�����:event-type���contentBlockDelta
:content-type���application/json
:message-type���event{"contentBlockIndex":0,"delta":{"text":"I"},"p":"abcdefghijklmno"}

details on vnd.amazon.eventstream https://docs.aws.amazon.com/lexv2/latest/dg/event-stream-encoding.html

@valerian-roche
Copy link
Contributor

Hey @deepakd10
From my understanding this issue relates to envoy and not the go-control-plane itself. If it is the case can you create an issue on the main repository. Otherwise can you provide more details on where this occurs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants