Error retrieving a secret value from secrets manager

0

I'm trying to retrieve a secret value from secrets manager using an API client via a post request.

I keep getting the following error in the response:

{ "Output": { "__type": "com.amazon.coral.service#SerializationException" }, "Version": "1.0" }

demandé il y a 2 ans2354 vues
4 réponses
0

Is your secret value is JSON? if yes, please see if it is a valid jSON. SerializationException can occur if there is a missing comma, curly braces etc.

prabu
répondu il y a 2 ans
  • The secret value is a string. If I use the AWS CLI, it works but when I try to retrieve the secret value by making a call to the secret manager service via the API endpoint, I get that exception error.

0

My guess is that this appears to be a malformed API request parameter. It seems that many others have had similar issues. Please refer to the following URL.

profile picture
EXPERT
répondu il y a 2 ans
0

OK, thanks, tried a couple of different things. Now I'm getting an "UnknownOperationException":

{ "Output": { "__type": "com.amazon.coral.service#UnknownOperationException" }, "Version": "1.0" }

répondu il y a 2 ans
0

Figured it out. There was a syntax error in the request body JSON.

répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions