Closed neddstarkk closed 2 years ago
Noticing this log:
It looks like you are invoking getUrl
API before Amplify.addPlugins
and Amplify.configure
calls?
Did you use await
for wait for above two call to complete before invoking Storage APIs?
An improvement for this error message was released with 0.6.3. I'm going to close this issue.
Description
On calling the Amplify.Storage.getUrl function, we get a
GetUrl Err: RangeError (index): Invalid value: Valid value range is empty: 0
Categories
Steps to Reproduce
No response
Screenshots
Platforms
Android Device/Emulator API Level
No response
Environment
Dependencies
Device
Samsung A22
OS
Android 12
CLI Version
9.1.0
Additional Context
No response