Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
24 views

Difficulties Encrypting and Decrypting Files from AWS S3 using AWS KMS

[ Explanation ] I am working on a problem that is proving to be pretty cumbersome, I feel as though I'm getting close to a solution but there's still difficulties I'm encountering. I currently have a ...
user7160059's user avatar
0 votes
0 answers
8 views

How to Efficiently Upload Files in Parallel in Next.js/Node.js Using Async and S3?

I'm working on a Next.js project where I need to upload multiple files to AWS S3 in parallel. I'm using the @aws-sdk/client-s3 for uploading the files. Despite trying different approaches, my uploads ...
Hassaan Baig's user avatar
0 votes
0 answers
15 views

How to Get File Type passed into multipart form-data with Multer When Uploading to S3 in Node.js?

I'm using Multer to handle file uploads in my Node.js application, and I'm uploading files to an S3 bucket. I need to get the type I pass into multi-part formdata before uploading. How can I achieve ...
Bhavya Nayak's user avatar
-1 votes
0 answers
23 views

why is s3 returning null even though I have folders in the directory

I made this small code where the code finds the folder i write in the input box and displays it's content but aws is just sending no directory data to me Here is the function doing the work async ...
Divyansh Pathak's user avatar
0 votes
1 answer
27 views

Multer s3 upload: File in s3 not playing and file increase

I am uploading a mp4 file to s3 via node.js s3. The code works and I see the file in the s3. However The original file is 860kb but when uploading it it turns to 1.4MB and when I download it from S3 ...
ThunD3eR's user avatar
  • 3,366
0 votes
0 answers
14 views

Getting a lot of errors in this aws-sdk server mainly in websockets

I am getting multiple warning and errors but I am not able to debug them The delay between the input submitted and the server is extremely long (approx 90 sec) with increases with more emit functions ...
Divyansh Pathak's user avatar
-3 votes
1 answer
42 views

Serverless S3 Sync is invalid

I was getting started with serverless everything was fine until i used S3Sync to upload data to my bucket, this is my yml file i also installed serverless-s3-sync plugin using yarn before using sls ...
Ansh Arora's user avatar
0 votes
0 answers
19 views

Why am I getting an error when I pull a fetchDir function?

I have written this piece of code where I listen to a function in the frontend and then pull 2 function when it is called here are the 2 functions. Here is where we listen to the frontend: socket....
Divyansh Pathak's user avatar
1 vote
1 answer
30 views

Getting 'Could not load credentials from any providers' error while using AWS-SDK in node.js

I am writing a code to copy a file from one to another and here is the code Here i am using the code to first find if a file exists and if doesnt it makes one by copying files from one to the other ...
Divyansh Pathak's user avatar
0 votes
1 answer
56 views

Upload video to S3 from Android using Nextjs Backend

This is a very straightforward and simple question. I am writing an API's backend for android app. As usual the android app will call API's that i will deploy on my backend one will be Upload to S3 ...
Ahmed Faraz's user avatar
0 votes
2 answers
32 views

Denied access to s3 URL

I have a node function where I'm attaching a pdf from a s3 URL and I keep getting a 403 error. This happens in the program as well as the browser. Here is the Nodemailer function I'm trying to attach ...
Matt's user avatar
  • 1,109
1 vote
1 answer
32 views

Saving PDF from S3 .pipe is not a function

I'm ultimately trying to attach a file from s3 without saving it to disc, but I'm having trouble getting the file in the first place. Here is my code: const s3 = require('@aws-sdk/client-s3') ...
Matt's user avatar
  • 1,109
1 vote
0 answers
33 views

AWS SDK object is taking longer time than expected and queueing up calls

I have an API in NodeJS server hosted in AWS EKS fargate which performs some operations(some related to AWS KMS) and then upload a BSON to S3. I have configured a load balancer timeout of 5 minutes. ...
Bharath Panchakarla's user avatar
-1 votes
1 answer
42 views

access S3 bucket using IAM roles in nodejs app for local development

I have IAM user who can access S3 buckets (through different policies) Our app backend is written using Node/Express. For simple Nodejs local development, I have following configurations to access S3 ...
micronyks's user avatar
  • 55.1k
1 vote
3 answers
57 views

How to limit bucket upload size in Backblaze B2 (S3 COMPATIBLE API)?

I'm implementing a functionality in our app where users buy a subscription and create their workspace. Each subscription plan has different storage limits (e.g, 5 GB for a small plan). We use ...
Mohammad Riyan's user avatar

15 30 50 per page
1
2 3 4 5
209