[V5] S3 Driver doesn't seem to work #3395
-
Based on the documentation, I am trying to move a request.file to S3 using the moveToDisk function. However, it doesn't seem to work. The code is quite simple
Where postData.banner is validated using schema.create. The error which I am getting is
I know the credentials and settings are correct because the same settings are working on a sample Laravel codebase. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
Drive exceptions have an original property. You can share what's the value of |
Beta Was this translation helpful? Give feedback.
-
how about digitalocean s3 , how to find ACL disable , I encounter the error you mentioning |
Beta Was this translation helpful? Give feedback.
-
I had the same issue. The problem was resolved when I left the S3_ENDPOINT variable empty in the env file. |
Beta Was this translation helpful? Give feedback.
-
I had a similar problem, I got the error For uploading a file, I used the following code: const readStream = fs.createReadStream(filePath);
await this.idrive.putStream("YOUR_FILE_NAME", readStream, {
visibility: 'private',
}); I resolved my problem by changing I wrote this in case someone has a similar problem. |
Beta Was this translation helpful? Give feedback.
Drive exceptions have an original property. You can share what's the value of
error.original
?