Paul
TTypebot
•Created by Paul on 4/19/2025 in #help-and-questions
After upgrading to version 3.6 from 3.5 login through GitHub is not working
I have only login through GitHub enabled on my self-hosted Typebot. After upgrading to version 3.6 from 3.5, I am not able to login any longer. The moment I click the Continue with GitHub button I see a Try signing with a different account message under the button and I am not redirected to GitHub for the sign-in. I can see the following errors displayed in my Docker logs:
2025-04-19T09:21:34.214718141Z The column
User.preferredLanguage
does not exist in the current database.
2025-04-19T09:21:34.214721151Z at In.handleRequestError (/app/node_modules/@prisma/client/runtime/library.js:122:6854)
2025-04-19T09:21:34.214724181Z at In.handleAndLogRequestError (/app/node_modules/@prisma/client/runtime/library.js:122:6188)
2025-04-19T09:21:34.214727161Z at In.request (/app/node_modules/@prisma/client/runtime/library.js:122:5896)
2025-04-19T09:21:34.214730111Z at async l (/app/node_modules/@prisma/client/runtime/library.js:127:11167)
2025-04-19T09:21:34.214733041Z at async getUserByAccount (/app/apps/builder/.next/server/chunks/256.js:1:4019) {
2025-04-19T09:21:34.214736021Z name: 'GetUserByAccountError',
2025-04-19T09:21:34.214738961Z code: 'P2022'
2025-04-19T09:21:34.214748391Z }
Any help with this matter will be greatly appreciated.3 replies
TTypebot
•Created by Paul on 4/15/2025 in #help-and-questions
Automatically expanding an Embed block's height to fit its content
Hello everyone. I am wanting to display different pieces of HTML content retrieved using API calls, in Embed blocks. All of these HTML pieces are dynamically generated and there is no way to know in advance the size of the returned content.
I want that the Embed block should automatically expand its height to fit its content so that no vertical scrollbar appears. The embed block has a Height parameter and I thought leaving this blank will result in what I want but this parameter requires a value. I also tried setting the Height parameter using a variable set to 'Auto' but this is not an accepted value and this causes the iframe in the embed block to be set to a default height of 400px. Is there some solution for what I want? Maybe some custom CSS targeting the iframes created by the Embed block can help or maybe some JavaScript in a Script block can adjust the height of all existing iframes on the page. I am not able to figure this out and would really appreciate some help with this matter for which I thank you in advance.
4 replies