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

All Questions

Tagged with
-3 votes
0 answers
18 views

Upload problem in react project from china [closed]

I have a react portal , file upload successfully from india and us before few days file upload from china but few days he did not upload file on our react portal what's the issue, Issue same from s3 ...
Rajat Verma's user avatar
0 votes
0 answers
65 views

Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html" react vite

I am deploying my react app in AWS S3 bucket. Everything works fine locally but each time a new build is deployed, then i get the error as : Failed to load module script: Expected a JavaScript module ...
Abiral Khadka's user avatar
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
0 votes
0 answers
74 views

AWS: How to let a S3 frontend (React, Axios) communicate with an EC2 backend (python3/Django, DjangoREST, corsheaders)

I followed a tutorial for creating a basic To-Do app (so CRUD) with a React+Axios frontend (ServiceWorker, bootstrap) and Django backend (DjangoREST, corsheaders), and would like to put it on AWS's ...
Gamekeeper's user avatar
0 votes
0 answers
21 views

My vite web app not opening on linkendIn and instagram mobile browser

I have a vite app, and i'm trying to promote it on instagram and have attached my link to it. But the link is not opening in the instagram app inbuilt browser and same for linkendIn only in ios ...
Sparsh Gahlot's user avatar
-1 votes
1 answer
41 views

How to play .avi videos stored on S3 in a web application (Node.js + React)?

I have a web application built with Node.js and React. Users upload videos in the .avi format to an AWS S3 bucket. I need to play these .avi videos on the web application, but .avi format is not ...
Luis's user avatar
  • 9
0 votes
0 answers
20 views

Alternative for Calling Async API for Each Item Inside array.map() in React (as async Can't be Used inside array.map)?

Making a long story short, I would like to iterate in an array by using the array.map() function, and for each item in the array call an async API (from inside the array.map), but I know that this is ...
GenerikError's user avatar
0 votes
0 answers
25 views

React Router intercepting CloudFront static files causing 404 errors

I've got a React app hosted on an S3 Bucket with CloudFront and I'm wanting to have a HTML file play a video (embedded player as an IFrame). I've setup the CloudFront distribution with a behavior ...
Jeremy Thompson's user avatar
0 votes
2 answers
63 views

Browser not refreshing image when image source URL is changed to URL of the image in the AWS S3 bucket

My react app allows the user to upload photos from their system and facebook (yet to be implemented). After uploading from the system, the URL of the displayed images are object URLs. Upon clicking ...
Steve Maxwell's user avatar
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" ...
655321's user avatar
  • 421
0 votes
1 answer
38 views

AWS Presigned URL giving me badly formatted presigned URLs. Could this be the reason for ERR_NAME_NOT_RESOLVED error?

I want my react frontend to upload, delete images from AWS S3 using presigned URLs. I created a small application to test it out. Although I do get a presigned URL, the presigned URL seems to get into ...
Steve Maxwell's user avatar
0 votes
0 answers
68 views

S3 Hosted Next.js app returns 404 not found when navigating to specific dynamic route

I have a page on my Next.js app with a path name like: "/slug/:slugId/detailed-view". For some reason when slugId is ab-123, next re-directs me to "/" (but the URL still says"/...
awol's user avatar
  • 1
0 votes
0 answers
25 views

S3 bucket image is giving CORS error loading Image

I am basically using canvas to let users highlight regions on image that will be used to feed the AI model to do it's working. The problem is that when I load the Image from the S3 bucket it gives a ...
Ali Aamir's user avatar
0 votes
1 answer
141 views

status of 404 (Not Found) after deploy my React Vite project to AWS S3

This is a portfolio site. I used couple libraries in the projects and lots of images. I also deployed the project to github pages a while ago. Would this be the reason I get 404 status? I'm super new ...
natalie chan's user avatar
0 votes
1 answer
111 views

S3 Presigned Url Uploads Throwing CORS error For Other File Types except .txt

I am trying to upload files to S3 bucket using presigned urls. However, only txt uploads work and other types throw CORS error. Access to fetch at X from origin Y has been blocked by CORS policy: ...
Md Armughanuddin's user avatar

15 30 50 per page
1
2 3 4 5
59