[BUG] Surveys fail to load after migration to 1.6.1
Closed this issue · 3 comments
jonas-hoebenreich commented
Issue Summary
After I pulled the latest docker image and tried to run it, the surveys won't load anymore. In the browser console I get the following error:
Uncaught (in promise) TypeError: cannot read properties of undefined (reading 'length')
It seems like the issue is in this line:
Steps to Reproduce
- upgrade to 1.6.1 and run migrations
- surveys do not load anymore
Expected behavior
no error, surveys visible
Other information
No response
Screenshots
No response
Environment
- Formbricks Cloud (app.formbricks.com)
- Self-hosted Formbricks
Desktop (please complete the following information)
v1.6.1
mattinannt commented
@jonas-hoebenreich thanks for reporting; I will take a look :-)
jonas-hoebenreich commented
sorry, I found the issue: I made some terraform changes that unfortunately had the side effect that some headers changed in a way that nextjs could not handle 🙈
Sorry for stealing your time
mattinannt commented
No worries; still a good point that we maybe should improve the error handling around server actions 😉