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年前2347ビュー
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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ