Share feedback, ideas and get community help

Updated 11 months ago

Error 500 Open AI Buble

Hey guys! I need help with the OPENAI buble, when I try to use it I get this error 500
Attachment
image.png
B
T
V
26 comments
Mmmh are you sure that you've selected an account in your OpenAI block?
Maybe create a new OpenAI cred to try it out
Hi.. Everything is ok with the account and credits, it's the same account I use on N8N
Can you show us your OpenAI settings? There might be something misconfigured then
that's it, i'm only use the AI template:
Attachment
image.png
I'm running my instance on Docker in swarm, with TRAEFIK, could this be something related to this?
Do you have the ENCRYPTION_SECRET variable correctly set up?
With a valid length?
Can you provide the server logs? There should be a clear error there.

If you are self-hosting it with docker. Type this command in your terminal:

Plain Text
docker-compose logs


Paste all the logs here so that we can help you properly!
That's indeed an issue with your ENCRYPTION_SECRET variable
Make sure to generate a new one with this n
command line:

Plain Text
openssl rand -base64 24 | tr -d '\n' ; echo
Then restart the app and create a new OpenAI account in Typebot.
same error:
Attachment
image.png
Just realized we don't have a way to capture the OpenAI response status to handle this error in case it occurs in production.
really, this 500 error is too generic and we can't know if the problem is in the request or in some parameter, let's see what will help us more here
Hi @Baptiste Sorry, I didn't pay attention to this part of the question, "Do you have the ENCRYPTION_SECRET variable correctly set up?
[06:12]
With a valid length?"

How do I check this?
What is the correct size?

Edit:
I analyzed it here in my Docker Compose and the generated key is not a 256-bit key, could this be the problem? How can I fix it? Will I lose the flows I have configured?
No you will not loose anything if you just change the encryption key πŸ‘
great! And how do I change it?
Check "2. Add the required configuration"
I couldn't find the .env file, is my docker compose missing something?
Note that the key is wrong, I haven't fixed it yet πŸ˜…
So you did not set that up yourself it seems. Any chance you can ask the author to do the appropriate change? πŸ™
Is there any chance that this is causing the problem? If yes, I can reinstall the system without any problems.
I redid the typebot installation and it worked, sorry for taking up your time πŸ˜…
Add a reply
Sign up and join the conversation on Discord