リクエストしたページは現在、お客様の言語ではご利用いただけません。ページの下部で別の言語を選択できます。または、どのウェブページでも、Google Chrome の翻訳機能を使ってその場でお好みの言語に翻訳できます。

Domain Limit Exceeded FAQ

A Domain Limit Exceeded Exception happens when a Google Cloud Platform (GCP) project has multiple redirects to unrelated applications. This page explains the details of that exception and how to fix it.

Expand all   Collapse all

Why am I seeing the "Domain Limit Exceeded Exception"?

Some GCP projects have multiple unique domains in the redirect URI and origin URLs, many of which have completely unrelated applications. This causes a misrepresentation of your brand's identity to your users, and is in direct violation of Google's Terms of Service. To protect the user experience, we ask that you use no more than 10 unique domains of redirect and origin URLs in your projects. You can restrict the number of domains in your projects using the GCP Console.

What is a domain?

We use the second level domain (SLD) of your redirect URIs and origin URLs when counting the number of domains in your project. The SLD is the first part of the top private domain in your redirect URIs and origin URLs. Following are several examples of unique domains​:

Input URI

Unique domain

http://www.google.com/callback

google

http://google.co.uk

google

https://foo.bar.example.com

example

http://localhost:8080/callback

localhost

https://myapp.appspot.com

myapp

How do I fix this?

To fix the Domain Limit Exceeded Exception, you need to remove unused domains from your GCP project. To remove a domain completely, delete all redirect URIs and origin URLs that contain the domain by following the steps below:

  1. Go to the Cloud Platform Console APIs & Services > Credentials page.
  2. On the project selection drop-down, select the project that contains the client you want to change.
  3. Under OAuth 2.0 client IDs, click the client for which you want to remove unused domains.
  4. On the Client ID for Web application page that appears, under Authorized JavaScript origins and Authorized redirect URIs, delete unused redirect URIs and origin URLs.
  5. When you're finished deleting URIs and URLs, click Save.

If you need more than 10 unique domains in your redirect URIs and origin URLs, it's best to create separate projects that clearly represent the identity that's associated with each of them. When you create new projects, separate them so that each project has fewer than 10 unique domains.

  • When you move a URL from an existing project to a new project, it revokes any tokens associated with the existing projects.
  • If you reach your project quota limit, you can request more by completing the Request Project Quota Increase form.

この情報は役に立ちましたか?

改善できる点がありましたらお聞かせください。
Search
Clear search
Close search
Google apps
Main menu
18167599427856833782
true
ヘルプセンターを検索
true
true
true