Failed to load resource: the server responded with a status of 400 (Bad Request)
위와 같은 오류 생겼을 때
firebase의
Storage 로 들어가서
Rules 의 값을 아래와 같이 변경
기존
rules_version = '2';
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read, write: if request.auth != null;
}
}
}
변경 후
rules_version = '2';
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read;
allow write: if request.auth != null;
}
}
}