Storage.getUrl("ExampleKey") should be able to throw a meaningful exception if the file does not exist in the storage #2404
Labels
feature-parity
Feature missing from this library but available on other ones
improvement
Any improvement that's not a bug and not requesting new functionality
storage
Related to the Storage category/plugins
Before opening, please confirm:
Language and Async Model
Not applicable
Amplify Categories
Storage
Gradle script dependencies
// Put output below this line
Environment information
Please include any relevant guides or documentation you're referencing
No response
Describe the bug
When we call getUrl from storage category we are receiving a presigned url even though the file does not exist.The expected behavior is to return a meaningful exception if the file does not exist in the storage.
Reproduction steps (if applicable)
amplify add storage
Call Amplify.Storage.getUrl("NonexistedFile");. call getUrl with a non-existed File.
Code Snippet
// Put your code below this line.
Log output
amplifyconfiguration.json
No response
GraphQL Schema
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: