Firebug
- Vorherrschende Sprache
- TypeScript
- Sterne
- 7.8k
- Forks
- 2.2k
- Ø Merge
- 22 Std. 28 Min.
- Gemergte PRs (30 T.)
- 6
Beschreibung
"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)**
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- firebase, typescript
- Bereich
- cloud
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100