LoginSignup
3
3

More than 5 years have passed since last update.

DirectoryAPIでユーザを追加する際、ライセンス数の上限を上まった時のエラー

Posted at

DirectoryAPIでユーザを追加する際、ライセンス数の上限を上まった時のエラー

{
  "code" : 412,
  "errors" : [ {
    "domain" : "global",
    "location" : "If-Match",
    "locationType" : "header",
    "message" : "Domain user limit reached.",
    "reason" : "limitExceeded"
  } ],
  "message" : "Domain user limit reached."
}

com.google.apis:google-api-services-admin-directory を使っている場合は、GoogleJsonResponseException#getStatusCode()が412である事を確認すれば良い。

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3