Error 500 New Update Remove NEXTAUTH_URL_INTERNAL (FIXED)
Error 500 New Update Remove NEXTAUTH_URL_INTERNAL (FIXED)
At a glance
The community member is experiencing an issue with the startchat endpoint on their Typebot, where they are unable to receive a response, but the bot still starts. Other community members ask for more information about the specific Typebot and whether the issue is isolated to that Typebot.
The community member explains that they have tried pulling the Docker compose and that the issue only occurs on the /startchat API call, not on the Typebot platform itself. They have also tried deleting the NEXTAUTH_AUTH_INTERNAL environment variable, but the issue persists.
Another community member investigates the issue and discovers that the problem was caused by a change in the Postgres version from 14-alpine to 16. After updating the Postgres version and deleting the previous Docker volume, the issue was resolved. The community member apologizes for the oversight and suggests that others experiencing a similar issue should back up their Postgres 14-alpine data before making the change.
There is also a question about the WHATSAPP_PREVIEW_TEMPLATE_NAME environment variable, but no answer is provided.
I already make docker compose pull and sometime that error happen to all bot flow with text input on start flow
The error just happen on API call /startchat Its normal on typebot platform just on api call that error show up, already delete NEXTAUTH_AUTH_INTERNAL on env but still not fix the error
Okay, this is my mistake. After investigating by comparing the entire update in the latest Typebot docs, it turns out the Postgre version change caused the error to appear. After trying to change it from version 14-alpine to version 16 and deleting the previous Docker volume, all errors no longer appear. Sorry @Baptiste , this is purely my fault for not noticing the changes in the latest docs. If anyone else experiences this, try backing up your Postgre 14-alpine first before deleting the Docker volume.