adminjs icon indicating copy to clipboard operation
adminjs copied to clipboard

File Upload on AWS S3

Open jaykukadiya99 opened this issue 2 years ago • 4 comments

Hello,

I am creating an admin panel using adminJs. I want to upload files on my S3 bucket. for that, I am using awsProvider.

I am getting an error Could not load credentials from any providers. image

Here is the screenshot of the code. image

FYI, file upload using LocalProvide is working fine.

Thanks in advance!!

jaykukadiya99 avatar Oct 07 '23 04:10 jaykukadiya99

The awsProvider docs say that the auth can happen in different ways. Have you tried adding the credentials to your AWS account as environment variables?

% export AWS_ACCESS_KEY_ID="anaccesskey" % export AWS_SECRET_ACCESS_KEY="asecretkey" % export AWS_REGION="us-west-2"

https://registry.terraform.io/providers/hashicorp/aws/latest/docs#authentication-and-configuration

j-000 avatar Oct 30 '23 12:10 j-000

@jaykukadiya99 Hey found any solution?

I'm getting error in file upload using aws

An error was encountered in a non-retryable streaming request. AccessDenied: Access Denied

harshmalvi avatar May 16 '24 14:05 harshmalvi

@harshmalvi

Yes, I solved it. Check my stackoverflow answer

https://stackoverflow.com/a/77335075/10273524

jaykukadiya99 avatar May 17 '24 09:05 jaykukadiya99

@harshmalvi

Yes, I solved it. Check my stackoverflow answer

https://stackoverflow.com/a/77335075/10273524

Thank you @jaykukadiya99

harshmalvi avatar May 20 '24 12:05 harshmalvi