Invalid URL when uploading Workspace Logo (S3)
Hey, recently setup Twenty.
After configuring S3, redeploying and creating a user, I'm unable to upload a Workspace Logo.
I get an "ApolloError: Invalid URL" when clicking upload.
Any idea why?
I have the following environment variables set up:
STORAGE_S3_ACCESS_KEY_ID=
STORAGE_S3_NAME=
STORAGE_S3_REGION=eu-south-2
STORAGE_S3_SECRET_ACCESS_KEY=***
STORAGE_TYPE=s3
The S3 Bucket is on AWS, not MinIO or some third party, and the access key has full S3 permissions limited to the bucket.
3 Replies
If I create the workspace without an image, and try to upload an image later, i get the same issue
If I try to upload a profile picture, I get: "An error occured while trying to upload the picture"
Hi, did you set STORAGE_S3_ENDPOINT ?
See https://github.com/twentyhq/twenty/blob/main/packages/twenty-server/src/engine/integrations/file-storage/file-storage.module-factory.ts to know the variables required
GitHub
twenty/packages/twenty-server/src/engine/integrations/file-storage/...
Building a modern alternative to Salesforce, powered by the community. - twentyhq/twenty