Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/google-maps/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
can';无法使用cli更新firebase函数,因为默认服务帐户不';不存在_Firebase_Google Cloud Functions - Fatal编程技术网

can';无法使用cli更新firebase函数,因为默认服务帐户不';不存在

can';无法使用cli更新firebase函数,因为默认服务帐户不';不存在,firebase,google-cloud-functions,Firebase,Google Cloud Functions,我意识到我的服务帐户凭据已发布到github,因此我取消了这些凭据,现在我无法再更新我的firebase功能 这是我得到的错误: functions: failed to create function functionName HTTP Error: 400, Default service account '<APP_ID>@appspot.gserviceaccount.com' doesn't exist. Please recreate this account (for

我意识到我的服务帐户凭据已发布到github,因此我取消了这些凭据,现在我无法再更新我的firebase功能

这是我得到的错误:

functions: failed to create function functionName
HTTP Error: 400, Default service account '<APP_ID>@appspot.gserviceaccount.com' doesn't exist. Please recreate this account (for example by disabling and enabling the Cloud Functions API), or specify a different account.
函数:未能创建函数functionName
HTTP错误:400,默认服务帐户“”-使用新生成的服务帐户。firebase cli似乎仍在使用不再存在的旧帐户
  • 我已经联系了firebase支持人员,他们提出了上述第二种解决方案,但几天来一直毫无反应

  • 如果有人有类似的问题,我想出了解决方法:

    泄漏的密钥是在此处创建的:

    我假设一旦该密钥泄露,我必须删除整个帐户,但没有意识到我可以从同一页面删除该密钥:

    因为我在不到30天前删除了服务帐户,所以我能够

    如果你在30天期限之外,我想没有人能帮你