I’m trying to associate AppKey with ApiProduct using the Apigee API Client Library for Java (v1-rev20240617-2.0.0)
To do that I’m trying to use either this or this method.
Unfortunately, each time I try to execute this request I get
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT"
Without any additional information about which argument is invalid
If I use the “Try this method” feature from the documentation and perform the same request I get 200 and no error.
I tried to analyze Logs Explorer logs, and invalid and correct requests had the same request body and path.
Steps to reproduce for generateKeyPairOrUpdateDeveloperAppStatus() (using the SDK):
-
Create a Developer
-
Create an App
-
Request generateKeyPairOrUpdateDeveloperAppStatus() and put List of API Products in the request body
Steps to reproduce for updateDeveloperAppKey() (using the SDK):
-
Create a Developer
-
Create an App
-
Request updateDeveloperAppKey() with list of API products in the request