Firebug
- Dominant language
- TypeScript
- Stars
- 7.8k
- Forks
- 2.2k
- Avg merge
- 22h 28m
- Merged PRs (30d)
- 6
Description
"firebase": "^8.2.2",
On save image in storage:
My code:
```
import { AngularFireStorage } from '@angular/fire/storage';
constructor(
private fireStorage: AngularFireStorage
) { }
saveIMG(img: File, imgPath: string) {
return this.fireStorage.ref(imgPath)
.put(img);
}
```
Error:
**FirebaseError: Firebase Storage: An unknown error occurred, please check the error payload for server response. (storage/unknown)**
Contributor guide
Research direction
Start by reproducing the upload through AngularFireStorage.ref(imgPath).put(img) with firebase ^8.2.2, using the File and path shown in the report. Inspect the Firebase Storage server response and error payload to determine whether the failure is in AngularFireStorage or Firebase Storage; done means the cause is identified and the upload has a verified resolution or a clearer actionable error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- firebase, typescript
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100