T
Twenty5mo ago
mkor

[Nest] 1 - ERROR [ExceptionsHandler] Could not load credentials from any providers

Hey there! I've been trying to setup the s3 storage settings and I cannot seem to figure out the issue. The only error I get is [Nest] 1 - ERROR [ExceptionsHandler] Could not load credentials from any providers. The other part of the error is
operation: { name: 'uploadFile', type: 'mutation' },
server-1 | document: 'mutation uploadFile($file: Upload!, $fileFolder: FileFolder) {\n' +
server-1 | ' uploadFile(file: $file, fileFolder: $fileFolder)\n' +
server-1 | '}'
operation: { name: 'uploadFile', type: 'mutation' },
server-1 | document: 'mutation uploadFile($file: Upload!, $fileFolder: FileFolder) {\n' +
server-1 | ' uploadFile(file: $file, fileFolder: $fileFolder)\n' +
server-1 | '}'
I am using iDrive e2 s3 and Docker Compose, which I have configured in the .env as such
STORAGE_S3_REGION=ca-mtl
STORAGE_S3_NAME=twentycrm
STORAGE_S3_ENDPOINT=https://***.ca.idrivee2-25.com
ACCESS_TOKEN_SECREt=*********
LOGIN_TOKEN_SECRET=*********
STORAGE_S3_REGION=ca-mtl
STORAGE_S3_NAME=twentycrm
STORAGE_S3_ENDPOINT=https://***.ca.idrivee2-25.com
ACCESS_TOKEN_SECREt=*********
LOGIN_TOKEN_SECRET=*********
For the endpoint, I've also tried https://twentycrm.***.ca.idrivee2-25.com. I'm not too sure if I'm missing any variables, but I think everything is there from the docs online.
2 Replies
charles
charles5mo ago
I'm not familiar with the STORAGE_S3_ENDPOINT configuration (we don't use in production), but don't you need to set STORAGE_S3_ACCESS_KEY_ID and STORAGE_S3_SECRET_ACCESS_KEY?
mkor
mkorOP5mo ago
That was it, I though the .env had that in it already. Thanks for the help!
Want results from more Discord servers?
Add your server