Skip to main content
Level 1.6: Donut
March 5, 2025
Question

Managed Google Play For an Enterprise

  • March 5, 2025
  • 0 replies
  • 0 views

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"