You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got this simple code, what I've got from running this is FLTFirebaseStorage: An unknown error occurred while calling method Reference#getDownloadURL
flutter: [firebase_storage/unknown] Failed to retrieve a download URL.
I've already tried using getDownloadURL() in various different configurations, but non of these worked, every time giving me the same error. How can I fix this? Future<void> updateLogoInFirestore(File file, String url) async { try { final storageRef = FirebaseStorage.instance.ref(); final uploadTask = storageRef.child("Logos/${employer.value.companyFullName}"); var a = await storageRef.getDownloadURL(); print(a); } catch (e) { print(e); } }
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I've got this simple code, what I've got from running this is
FLTFirebaseStorage: An unknown error occurred while calling method Reference#getDownloadURL
flutter: [firebase_storage/unknown] Failed to retrieve a download URL.
I've already tried using getDownloadURL() in various different configurations, but non of these worked, every time giving me the same error. How can I fix this?
Future<void> updateLogoInFirestore(File file, String url) async { try { final storageRef = FirebaseStorage.instance.ref(); final uploadTask = storageRef.child("Logos/${employer.value.companyFullName}"); var a = await storageRef.getDownloadURL(); print(a); } catch (e) { print(e); } }
Beta Was this translation helpful? Give feedback.
All reactions