Firebase崩溃报告:无法传输崩溃:错误403 [英] Firebase Crash Reporting: Failed to transmit crash: Error 403

查看:331
本文介绍了Firebase崩溃报告:无法传输崩溃:错误403的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



有人尝试过新的Firebase Crash报告吗?

blockquote>
CrashReporter [4248:] Firebase Analytics已启用
CrashReporter [4248:68995] Firebase崩溃报告:无法传输崩溃:Error Domain = com .google.FirebaseCrash Code = 1上传失败UserInfo = {NSLocalizedDescription =上传失败,NSLocalizedFailureReason = HTTP 错误代码403 :{b / b>


当您从GoogleService-Info.plist文件中读取缺少或不正确的API_KEY时,会发生这种情况。我会检查以下内容:
$ b $ 1)确认您的GoogleService-Info.plist文件包含一个API_KEY。有一个罕见的错误,你可以下载文件,这个字段没有插入。如果缺少API_KEY,请下载一个新的GoogleService-Info.plist文件(点击您的项目,点击屏幕左上方的齿轮图标,点击项目设置,选择您的应用程序,并下载一个新的配置文件) / p>

2)确认您使用的是正确的GoogleService-Info.plist文件。如果您设置了两个项目,请确保两个项目都使用不同的文件,并且不会混淆。



3)确保您的GoogleService-Info.plist文件不是您的网络浏览器不会重命名为GoogleService-Info.plist(1)。如果是,则将其重命名为GoogleService-Info.plist



编辑:这也可能是由于CFBundleVersion或CFBundleShortVersionString不是major.minor.patch,所有数字。对CFBundleVersion的限制很快就会下降(还有一个更好的错误信息)

Did anyone tried new Firebase Crash reporting?

I am stuck with following error after creating a crash .

CrashReporter[4248:] Firebase Analytics enabled 2016-05-27 09:22:07.579 CrashReporter[4248:68995] Firebase Crash Reporting: Failed to transmit crash: Error Domain=com.google.FirebaseCrash Code=1 "Upload failed" UserInfo={NSLocalizedDescription=Upload failed, NSLocalizedFailureReason=HTTP Error Code 403: {

解决方案

This occurs when you have a missing or incorrect API_KEY, which is read out of your GoogleService-Info.plist file. I would check the following:

1) Confirm your GoogleService-Info.plist file contains an API_KEY. There is a rare bug where you can download the file and this field is not inserted. If the API_KEY is missing, download a new GoogleService-Info.plist file (click on your project, click the gear icon in the upper left of the screen, click project settings, select your app, and download a new config file).

2) Confirm you're using the correct GoogleService-Info.plist file. If you setup two projects, make sure both projects are using different files, and they aren't mixed up.

3) Make sure your GoogleService-Info.plist file wasn't renamed to something like GoogleService-Info.plist (1) by your web browser. If it was, rename it back to GoogleService-Info.plist

Edit: This can also be due to a CFBundleVersion or CFBundleShortVersionString not being a major.minor.patch, all numeric. The restriction on CFBundleVersion is getting dropped soon (along with a better error message)

这篇关于Firebase崩溃报告:无法传输崩溃:错误403的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆