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" }

已提问 2 年前2255 查看次数
4 回答
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
已回答 2 年前
  • 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
专家
已回答 2 年前
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" }

已回答 2 年前
0

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

已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则