-
Notifications
You must be signed in to change notification settings - Fork 2
Discovery agent fails to create credential #68
Description
When the first time I asked credentials, after the access request, my credentials remained in PENDING state and the agent logs shows the following:
{"level":"info","message":"processing access request for api APIGEE-PetStore-OAuth to app pet-shelter","time":"2022-09-26T21:10:46-07:00"} {"level":"info","message":"creating api product APIGEE-PetStore-OAuth-freemium-2 for api APIGEE-PetStore-OAuth","time":"2022-09-26T21:10:47-07:00"} {"level":"info","message":"provisioning credentials for app pet-shelter","time":"2022-09-26T21:10:50-07:00"} {"level":"info","message":"processing access request for api APIGEE-PetStore-OAuth to app pet-shelter","time":"2022-09-26T21:10:46-07:00"} {"level":"info","message":"creating api product APIGEE-PetStore-OAuth-freemium-2 for api APIGEE-PetStore-OAuth","time":"2022-09-26T21:10:47-07:00"} {"level":"info","message":"provisioning credentials for app pet-shelter","time":"2022-09-26T21:10:50-07:00"} {"level":"error","message":"subscription provisioning - at least one product access is required for a credential","time":"2022-09-26T21:10:51-07:00"} {"component":"serviceClient","level":"error","message":"failed to link sub resource state to resource first-apigee: [Error Code 1120] - error making a request to Amplify: status - 400, title - Validation error, detail - [#/name: is not a valid enum value]","package":"sdk.apic","time":"2022-09-26T21:10:51-07:00"} {"action":"CREATED","component":"credentialHandler","error":"[Error Code 1120] - error making a request to Amplify: status - 400, title - Validation error, detail - [#/name: is not a valid enum value]","level":"error","message":"error creating subresources","name":"first-apigee","package":"sdk.agent.handler","resource":"Credential","sequence":2782324,"time":"2022-09-26T21:10:52-07:00"}