All Questions
Tagged with amazon-web-services javascript
3,927
questions
0
votes
1
answer
27
views
AWS Serverless framework, stack deploy stuck "CREATE_IN_PROGRESS"
I have a problem while using the Serverless framework to deploy my stack to AWS.
I'm running this serverless deploy --stage tst --region eu-west-3 --verbose
Then 2 of my functions get stuck in "...
0
votes
0
answers
19
views
Struggling to send a PNG file to AWS Bedrock Agent
I have set up an AWS bedrock agent and am successfully sending text requests and receiving responses.
I need to send across a PNG file for the Agent to view and return the contents as JSON.
This is my ...
0
votes
0
answers
21
views
Nuxt Vercel Deployment Failing
Worth a shot asking here. I am having trouble deploying my Nuxt app onto Vercel for some strange reason, I can't pinpoint the error. When I deploy, everything seems fine in the deployment script, but ...
2
votes
0
answers
84
views
How do I import a module with ".js" in its name without triggering a TypeError?
When I run my project locally, it works fine. But when I deploy it to AWS Amplify, it shows an error from the browser's console:
Uncaught TypeError: Failed to resolve module specifier "hls.js&...
0
votes
0
answers
25
views
Next js 14 app router always Hard refresh when behind cloudfront
I am working with nextJs 14 app router and it's behind CloudFront
My application works very weirdly it is always hard refresh irrespective of whether I use the Link component of the nextJs.
I have ...
0
votes
0
answers
23
views
Why is my destination prefix given [Object Object] as its output in AWS-SDK?
I am writing this code where im using aws sdk to copy files from one place to another dir, here destinationprefix is supposed to handle to destination directory, there the variable has to be put, idk ...
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')
...
0
votes
1
answer
47
views
How to use AWS Secret Manger in JavaScript file hosted on ECS container
I have a GitHub project which contains a react-server and node-server. Currently I have it setup so that my Dockerfile takes both of these services and uses supervisord.conf / nginx.conf files to ...
0
votes
1
answer
25
views
How to fix React Native Chime RNVideoView displaying over other RNVideoView
I got the AWS Chime SDK Demo for React Native working and two people can join a video call on mobile. The local device has its video camera shown in a small tile at the bottom of the screen while the ...
0
votes
0
answers
37
views
s3.listBuckets() returning "null"
This is the Error i get (Picture Link) I have a problem with my function below.
I have AdministratorAccess permissions. The function ListS3Buckets won't give me a list of all my buckets. I tried to ...
3
votes
1
answer
58
views
Uploading File to S3 via Node.js SDK Resulting is Blank File
We have a S3 bucket where we upload some files.
When a user uploads a file, it is uploaded to the S3 bucket, but when checking the file's content, it is empty(blank file).
Back End Code
// ...
0
votes
0
answers
29
views
How could I List all the CommonPrefixes first with listObjectsV2?
I have a lambda function requesting data from S3 using AWS-SDK. It is consumed by a webapp used as a file directory, but when the app request to create a new folder or directory, it doesn't show until ...
0
votes
1
answer
47
views
Curl request succeeded but JavaScript fetch failed
I have two AWS EC2 instance, one for JavaScript web page and one for Django server.
Django server is in private subnet and JavaScript in public subnet.
My JavaScript fetch code is like below
fetch('...
0
votes
0
answers
59
views
accessLevel: 'private' is not putting file into s3 private directory
I have a React project using aws-amplify version 6.1.4 . I'm only using amplify for auth and storage management and not for CD/CI.
I want to put my file in the already existing "private" ...
0
votes
1
answer
24
views
SchemaError: No map schema given for attribute: playlist
I am trying to create a DynamoDB schema and a user model. But whenever I call my User model my api always throws this error: SchemaError: No map schema given for attribute: playlist. Code is below:
/...