backendError accessing users.list in Admin SDK

2019-07-21 05:32发布

问题:

Our customers are getting errors trying to import users from their Google Apps domain into our application using users.list in the Directory API (Admin SDK). This was previously working, but for the past few days we've been seeing the following errors.

OAuth users.list.execute error: com.google.api.client.googleapis.json.GoogleJsonResponseException: 503 OK { "code" : 503, "errors" : [ { "domain" : "global", "message" : "Service unavailable. Please try again", "reason" : "backendError" } ], "message" : "Service unavailable. Please try again" }

Does the Apps Marketplace app have to be enabled for the entire domain, or should this still work if it's enabled for a specific OU?