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년 전2357회 조회
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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠