After uploading a file as public with aws storage, I havent public access to the object URL. #13001
Closed
3 tasks done
Labels
duplicate
If marked with duplicate, issue will be closed & original will be added for traceability
feature-request
Request a new feature
Storage
Related to Storage components/category
Before opening, please confirm:
JavaScript Framework
React, Next.js
Amplify APIs
Authentication, Storage
Amplify Version
v6
Amplify Categories
storage
Backend
None
Environment information
Describe the bug
I have uploaded an image using aws amplify storage. The upload is correct and I can see the image in the S3 bucket inside a /public folder, but I am unable to get the URL to that image.
I have used the getUrl method, but only gives me the signed URL, which has an expiring date. I need a public URL without expiration date.
Is this possible to achieve? Thanks!
Expected behavior
I want to get the public URL of the image that I have just uploaded.
Reproduction steps
Using the getUrl method
Code Snippet
// Put your code below this line.
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: