Exciting things are coming - our community is moving to a new home!
Whilst we make this move, the community is now in READ-ONLY mode today and there maybe some downtime (we will try to keep this to a minimum). Learn more here.

Forum Discussion

Elijah's avatar
Elijah
Level 2.0: Eclair
2 years ago

Managed Google Play For an Enterprise

I am trying to create a web token to embed managed google play iframe, the code is given below:

 

private static void getWebToken() throws GeneralSecurityException, IOException {
    WebToken webToken = getAndroidManagementClient().enterprises().webTokens().create("enterprises/LC01l28hdc",new WebToken()).execute();
    System.out.println("Web Token: "+ webToken.toPrettyString());
  }

  but after running it, I get a 400 Bad Request

  "code": 400

  "reason": "badRequest"

  "status": "INVALID_ARGUMENT"

No RepliesBe the first to reply