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 年前檢視次數 2256 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南