Share feedback, ideas and get community help

Home
Members
Diego Eloy
D
Diego Eloy
Offline, last seen 3 months ago
Joined September 13, 2024
Hi, guys. and I are trying to connect typebot to the AWS S3 service, but we are unable to store the objects. Our bucket policies are:

{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadWriteAccess",
"Effect": "Allow",
"Principal": "", "Action": "s3:",
"Resource": [
"arn:aws:s3:::<bucket-name>",
"arn:aws:s3:::<bucket-name>/" ] } ]}And our CORS policies are:[ { "AllowedHeaders": [ ""
],
"AllowedMethods": [
"PUT",
"POST"
],
"AllowedOrigins": [
"*"
],
"ExposeHeaders": [
"ETag"
],
"MaxAgeSeconds": 3000
}
]

The ACLs are disabled.

Does anyone know what could be preventing the access?
29 comments
1
R
t
E
D
B
Hi guys. We are facing an error that is preventing access to the typebot builder. It seems to be a reference to a non-existent column by Prisma. Can anyone explain what might have caused this error and how to fix it? Here is the error log for reference:

2024-02-08T23:03:53.647057032Z ' at async getUserByEmail (/app/apps/builder/.next/server/chunks/524.js:1:1317)',
2024-02-08T23:03:53.647060819Z name: 'PrismaClientKnownRequestError'
2024-02-08T23:03:53.647064596Z }
2024-02-08T23:03:53.647232490Z PrismaClientKnownRequestError:
2024-02-08T23:03:53.647239874Z Invalid prisma.user.findUnique() invocation:
2024-02-08T23:03:53.647243981Z
2024-02-08T23:03:53.647247618Z
2024-02-08T23:03:53.647251495Z The column User.referral does not exist in the current database.
2024-02-08T23:03:53.647255253Z at si.handleRequestError (/app/node_modules/.pnpm/@prisma+client@5.8.0_prisma@5.8.0/node_modules/@prisma/client/runtime/library.js:125:6817)
2024-02-08T23:03:53.647259160Z at si.handleAndLogRequestError (/app/node_modules/.pnpm/@prisma+client@5.8.0_prisma@5.8.0/node_modules/@prisma/client/runtime/library.js:125:6151)
2024-02-08T23:03:53.647263047Z at si.request (/app/node_modules/.pnpm/@prisma+client@5.8.0_prisma@5.8.0/node_modules/@prisma/client/runtime/library.js:125:5859)
2024-02-08T23:03:53.647266874Z at async l (/app/node_modules/.pnpm/@prisma+client@5.8.0_prisma@5.8.0/node_modules/@prisma/client/runtime/library.js:130:9805)
2024-02-08T23:03:53.647270962Z at async getUserByEmail (/app/apps/builder/.next/server/chunks/524.js:1:1317) {
2024-02-08T23:03:53.647285900Z name: 'GetUserByEmailError',
2024-02-08T23:03:53.647290058Z code: 'P2022'
2024-02-08T23:03:53.647295248Z

Thank you in advance.
2 comments
B