Hey,
When I try to add a new app from the developer portal and select a product, I get the following error:
Any idea what’s going on?
Saving app testapp for user xxxx generated an Apigee\Exceptions\ResponseException with a code of 400 when accessing URI http://xxxxxxxx:8080/v1/o/glic/developers/xxxx@gmail.com/apps. Details as follows: Array
(
[request_headers] => POST /v1/o/glic/developers/xxxxx@gmail.com/apps HTTP/1.1
Host: xxxxxxxxa:8080
accept: application/json; charset=utf-8
Content-Type: application/json; charset=utf-8
Content-Length: 358
User-Agent: DevPortal/4.17.01.00 Guzzle/3.9.3 curl/7.19.7 PHP/7.0.14
Authorization: Basic [masked]
Referer: http://xxxx/user/4/apps/add
[response_headers] => HTTP/1.1 400 Bad Request
X-Apigee.fault-code: keymanagement.service.apiproducts_invalid
Content-Type: application/json
Date: Tue, 01 Aug 2017 18:40:29 GMT
Content-Length: 129
[request_body] => {“accessType”:“read”,“name”:“testapp”,“callbackUrl”:“”,“attributes”:[{“name”:“DisplayName”,“value”:“testapp”},{“name”:“lastModified”,“value”:“2017-08-01 18:40 PM”},{“name”:“lastModifier”,“value”:“zxczxczx@gmail.com”},{“name”:“creationDate”,“value”:“2017-08-01 18:40 PM”}],“apiProducts”:["PRODUCT NAME "]}
[request_type] => Array
(
[Guzzle\Common\HasDispatcherInterface] => Guzzle\Common\HasDispatcherInterface
[Guzzle\Http\Message\RequestInterface] => Guzzle\Http\Message\RequestInterface
[Guzzle\Http\Message\MessageInterface] => Guzzle\Http\Message\MessageInterface
[Guzzle\Http\Message\EntityEnclosingRequestInterface] => Guzzle\Http\Message\EntityEnclosingRequestInterface
)
[message] => One or more ApiProduct is invalid
)