angular / angular/angularfire

Firebug

未關閉
#3,115 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
7.8k
分支
2.2k
平均合併
22 小時 28 分鐘
30 天內合併 PR
6

描述

"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)**

貢獻指南

開啟貢獻指南

研究方向

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.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
firebase, typescript
領域
cloud
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。