Bytestring Conversion Error?

I am trying to use the OpenAI block to generate variables based on my users message. This has previously worked with no issues, however, now when I use it I get this error: "Cannot convert argument to a ByteString because the character at index 178 has a value of 8594 which is greater than 255." This is how I prompted the AI: "Based on the user's response, extract the most relevant type of cybercrime from the following categories: Unwanted call, text, or email: includes suspicious emails, phishing attempts, spam, scam calls, and messages asking for personal information Loss of information, merchandise, or money: includes fraud, scams resulting in financial loss, or stolen personal data. Extract the correct category from the user's message. If multiple categories apply, choose the most relevant one." There are no special characters in my response yet I get the same error. I have tried remaking the typebot from scratch, rewriting the prompt without any punctuation at all, trying different models, and even testing the word "hi" as the prompt and I continue to get the error. I am very confused because I did not have this issue in the past and now none of my typebots are working at all. Thanks for your help!
No description
No description
3 Replies
Charlotte
CharlotteOP3d ago
And here's a bot that reproduces the issue!
Baptiste
Baptiste2d ago
I think your OpenAI account is not correctly configured
Baptiste
Baptiste2d ago
Can you remove your account and create a new one?
No description

Did you find this page helpful?