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

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

问题描述

尝试通过 https://代码创建Google API的新项目时出现错误.google.com / apis / console



我希望这个错误是暂时的,但我几个星期以来一直无法创建一个新项目。

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


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 =无; ReqFormat = UNCOMPRESSED; REQID = 除去; GlobalID =除去 ;服务器= IP 端口


现在错误比以前短了很多,尽管看起来和原因有关:


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

仪表板中的微调控制器似乎永远处于旋转状态,而几秒钟后,错误就会出现在警报下方。我尝试了很多项目名称,都失败了同样的错误。

是否有某种类型的配额我缺少,这是防止这种情况?配额菜单项要求我选择一个我没有的项目。



点击错误将我带到一个包含以下信息的页面:

p>


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



解决方案

确保Google Developers Console适用于试图创建项目的用户。



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


I am getting an error when attempting to create a new project for Google API at https://code.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.

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: 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:

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.

解决方案

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

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天全站免登陆