Storage bucket.exists()
always returns false for firebase emulator
#2447
Labels
bucket.exists()
always returns false for firebase emulator
#2447
[READ] Step 1: Are you in the right place?
template.
with the firebase tag.
google group.
of the above categories, reach out to the personalized
Firebase support channel.
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
Create basic project with storage and functions setup for emulation: (functions only used to call storage bucket methods)
Run emulator with
firebase emulators:start --only storage,functions
Verify storage bucket exists in emulator and the name is matched in firebase config showing
storage_bucket
as the defaultHit the firebase function to run the storage bucket code
Calling
bucket.exists()
from firebase function always returns false.Expected outcome:
Calling
bucket.exists()
from firebase function returntrue
when accessing the default bucket.Relevant Code:
Images
Console output:
Emulator Storage: (name of bucket matches id in code)
The text was updated successfully, but these errors were encountered: