Minio Problem
I have a problem with my Typebot configuration where image uploading doesn't work. I did the configuration via Digitalocean and easypanel, using Minio, however the photos and videos that I upload there do not work in the bot via link and I was not even able to upload them to the builder. Does anybody know how to solve this?
2 Replies
Your ENV should point to the Minio API, and your Minio should have a bucket named "typebot" configured as public.
---
S3_ACCESS_KEY=YOUR_USER_NAME
S3_SECRET_KEY=YOUR_SECRET_KEY
S3_BUCKET=typebot
S3_ENDPOINT=YOUR_MINIO_API_WUTHOUT_HTTP
S3_SSL=false
S3_REGION=eu-east-1
Something went wrong x: S3 API Requests must be made to API port.
at /app/apps/builder/.next/server/chunks/3174.js:1:293450
... 3 lines matching cause stack trace ...
at async ed.getBucketRegionAsync (/app/apps/builder/.next/server/chunks/3174.js:5:3046) {
code: 'INTERNAL_SERVER_ERROR',
name: 'TRPCError',
[cause]: x: S3 API Requests must be made to API port.
at /app/apps/builder/.next/server/chunks/3174.js:1:293450
at t$ (/app/apps/builder/.next/server/chunks/3174.js:1:293569)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ed.makeRequestStreamAsync (/app/apps/builder/.next/server/chunks/3174.js:5:2681)
at async ed.getBucketRegionAsync (/app/apps/builder/.next/server/chunks/3174.js:5:3046) {
code: 'InvalidArgument',
requestid: 0,
amzRequestid: undefined,
amzId2: undefined,
amzBucketRegion: undefined
}
}
This error appears when I try to upload