Firebug
- Lingua principale
- TypeScript
- Stelle
- 7.8k
- Fork
- 2.2k
- Merge medio
- 22h 28m
- PR unite (30g)
- 6
Descrizione
"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)**
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- firebase, typescript
- Ambito
- cloud
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100