636 questions
-1
votes
0
answers
23
views
Occasional “NoSuchKey” from S3 right after successful PUT using pre-signed URL (same region)
I’m facing an intermittent issue when uploading files to Amazon S3 from an Android app using a pre-signed PUT URL.
Setup:
Android app uploads directly to S3 via a pre-signed PUT URL.
After receiving ...
0
votes
3
answers
110
views
403 Response for Presigned S3 PutObject URL
I'm getting a 403 response when trying to use a presigned S3 put object URL in a Javascript fetch call. Here's what I've verified:
The IAM role that generates the presigned URL can upload an object ...
0
votes
1
answer
177
views
When to use pre-signed vs public vs private file upload on aws s3
When uploading media to s3 bucket, i am introduced to a technique called pre-signed urls, where backend generate the url and frontend upload directly to that s3 url, So far it is good.
The problem ...
0
votes
0
answers
87
views
Presigned Url with Image Transformation - Cloudflare
I'm using r2 bucket as storage and using presigned url to fetch the images, I'm also using transformation on top of it like
https://sub.domain.com/cdn-cgi/image/quality=75/https://r2.cloudstorage.com/...
0
votes
1
answer
57
views
Spring RestClient fails with GCS signed URL (403 SignatureDoesNotMatch) while RestTemplate/HttpURLConnection work
Context:
Trying to download a file from Google Cloud Storage using a pre-signed URL with Spring Boot 3.4.4's RestClient. The same URL works perfectly with both RestTemplate and raw HttpURLConnection.
...
0
votes
0
answers
89
views
Avatar component shows blank page between switching browser tabs
Context: I'm working on a React application where users select their profile image during onboarding. The image is uploaded to AWS S3, and a pre-signed URL is generated and sent to the frontend.
Issue:...
0
votes
0
answers
31
views
Rest-assured test to upload a file to a signed URL
I am trying to write a rest-assured test, that uses a signed URL from a previous request, in order to upload a file.
This is what I tried so far:
try {
uploadPathUrl = URLDecoder.decode(...
0
votes
0
answers
48
views
How can you use GCP signed urls with Private Service Connect
I am using GCP signed urls to allow clients to download files from google cloud storage.
We have a Private Service Connect open for our customers, allowing them to consume our platform over the GCP ...
0
votes
0
answers
61
views
how to get signed url from non public bucket in google cloud storage?
currently i have cloud function to get signed url, I place the service account json in my google secret manager, and access it trough my code. I've test the function in post man, using identity token ...
0
votes
1
answer
35
views
ng2-file-upload: Avoid uploading file using FormData
I am using the g2-file-upload library to upload a file to an S3 bucket via a signed URL. However, the issue is that g2-file-upload always uses the formData: { file: binary } format in the upload ...
1
vote
0
answers
152
views
How to get access to service account private key for PreSigned URLS?
Keep getting "An error occurred: you need a private key to sign credentials.the credentials you are currently using <class 'google.auth.compute_engine.credentials.Credentials'> just ...
0
votes
0
answers
109
views
s3.get_presigned_url , different behavior Python SDK vs AWS CLI
This seems like a silly question but I can't understand why the s3 presigned URL I generate through the AWS CLI correctly contains the region: <bucket-name>.s3.<region-name>.amazonaws.com, ...
0
votes
0
answers
98
views
How to Send MP3 Audio from S3 via WhatsApp Cloud API Using Pre-Signed URLs?
I'm developing a feature where an audio message generated by the Eleven Labs API is stored in an AWS S3 bucket and should be sent to users through the WhatsApp Cloud API. Although the process works ...
0
votes
0
answers
88
views
Upload .tar.gz to s3 bucket using presigned url with node.js
I am facing an issue uploading a .tar.gz file to an s3 bucket using a presinged URL.
If I upload any other file then it works without any error but with .tar.gz it does not give any error and does not ...
0
votes
1
answer
339
views
Why might I be getting an error 403 for a presigned url when the S3 bucket has open policy and signing lambda has sufficient permissions?
I have a project like so: Client -> Gateway API -> Lambda -> signed url; User takes signed url -> S3 Post.
I am able to generate and return the signed url but every time I try to make a ...
1
vote
0
answers
229
views
use excel office uri scheme with blob?
I am trying to get excel files fetched by my web app to open the downloaded excel file automatically in the excel app installed on the users machine.
i know you're supposed to use urls like so: ms-...
1
vote
1
answer
569
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 ...
2
votes
1
answer
673
views
CORS error when trying to upload via presigned url from browser, but not in non-browser environment
I'm trying to generate s3 presigned url to upload video/mp4 files to a bucket from react app client in development mode in my localhost. However, I'm getting CORS error. But when I do the put request ...
0
votes
0
answers
30
views
File uploaded with wrong key and type in AWS S3 when using pre-signed url
I want to upload images to a bucket using a pre-signed URL:
aws s3 presign s3://mybucket/something1.png --expires-in 7200
and just for testing other types:
aws s3 presign s3://mybucket/CV.pdf --...
-1
votes
1
answer
86
views
How to restrict content-types on direct upload from browser to S3 secured via pre-signed URL?
I am trying to generate an uplaod presigned url where frontend is required to send the content type of file.
I see that if fronend doesnt send this content type and i remove content type in params ...
1
vote
0
answers
384
views
How attach a POST Policy to create a PreSigned URL for upload to S3 using the .Net SDK?
When working with the AWS S3 service in .NET, generating a pre-signed URL for file uploads is a common task. However, while the AWS SDK for .NET provides functionality to generate pre-signed URLs ...
0
votes
1
answer
347
views
Generate a Presigned S3 URL via AWS CLI (specifically for file UPLOAD)
Is it true you need to specify somehow put_object and method PUT when creating a presign URL.
The official docs say you have to, but CLI doesn't support it
https://docs.aws.amazon.com/code-library/...
1
vote
1
answer
811
views
S3 pre-signed url keeps return provided token has expired after after sometime of service deployment
I have this code for sign s3 urls
private URL generatePreSignedUrl(String s3Key, String s3Bucket, Date expiration, HttpMethod method) {
GeneratePresignedUrlRequest generatePresignedUrlRequest =...
4
votes
1
answer
1k
views
How to add metadata to S3 Presigned url (PUT not POST) - Javascript SDK V3
Trying to add metadata to my presigned url. The url generates and has the metadata included in the query string, but I am not able to submit my file with the metadata as it fails with 403 forbidden. ...
0
votes
0
answers
380
views
AWS S3 Presigned Post url multipart uploads
Is this possible? I have looked (and looked again). Multipart uploads are clearly possible using regular presigned URLs (ie. PUT), but I can't find any documentation to suggest that you can use them ...