尝试创建新的 Google API 项目时 FAILED_PRECONDITION [英] FAILED_PRECONDITION when trying to create a new Google API project

查看:27
本文介绍了尝试创建新的 Google API 项目时 FAILED_PRECONDITION的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在 https://code 上为 Google API 创建新项目时遇到错误.google.com/apis/console

我希望这个错误是暂时的,但我已经有几个星期无法创建新项目了.

I was hoping the error was temporary, but I have been unable to create a new project for a couple weeks now.

错误似乎已经改变,因为它曾经包含服务器 ip 信息和许多其他数据.删除了一些潜在的私人信息的示例:

The error seems to have changed, as it used to include server ip information and a lot of other data. An example with some potentially private information removed:

APPLICATION_ERROR;google.cloudresourcemanager.projects.v1beta1/DeveloperProjects.CreateProject;com.google.apps.framework.request.StatusException:通用::失败_预处理:;AppErrorCode=9;StartTimeMs=1489595147198;tcp;Deadline(sec)=50.0;ResFormat=UNCOMPRESSED;ServerTimeSec=0.027545452117919922;LogBytes=256;FailFast;EffIDPRESSED>Recommov;;GlobalID=removed;Server=ip:端口

APPLICATION_ERROR;google.cloudresourcemanager.projects.v1beta1/DeveloperProjects.CreateProject;com.google.apps.framework.request.StatusException: generic::FAILED_PRECONDITION: ;AppErrorCode=9;StartTimeMs=1489595147198;tcp;Deadline(sec)=50.0;ResFormat=UNCOMPRESSED;ServerTimeSec=0.027545452117919922;LogBytes=256;FailFast;EffSecLevel=none;ReqFormat=UNCOMPRESSED;ReqID=removed;GlobalID=removed;Server=ip:port

现在错误要短得多,尽管似乎仍然与相同的原因有关:

Now the error is a lot shorter, although still seems to be related to the same cause:

com.google.apps.framework.request.StatusException:generic::FAILED_PRECONDITION:

com.google.apps.framework.request.StatusException: generic::FAILED_PRECONDITION:

仪表板中的微调器似乎永远旋转,而几秒钟后错误出现在警报下方.我尝试了许多项目名称,但都以相同的错误失败.

The spinner in the dashboard appears to spin forever, while the error appears underneath alerts after a few seconds. I have tried numerous project names and all fail with the same error.

我是否缺少某种类型的配额来阻止这种情况发生?配额菜单项要求我选择一个我没有的项目.

Is there some type of quota I am missing that is preventing this? The quota menu item requires me to select a project, which I don't have any.

单击错误会将我带到带有以下消息的页面:

Clicking on the error brings me to a page with the following message:

您无权对所选资源执行操作.

You don't have permissions to perform the action on the selected resource.

推荐答案

确保为尝试创建项目的用户打开了 Google Developers Console.

Make sure that the Google Developers Console is on for the user that is trying to create the project.

Admin.google.com > 应用程序 > 其他 Google 服务 > Google Developers Console,并为需要它的任何组织或用户打开.

Admin.google.com > Apps > Additional Google services > Google Developers Console and turn on for any org or user that needs it.

这篇关于尝试创建新的 Google API 项目时 FAILED_PRECONDITION的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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