Pinpoint SMS OTP: Amount of retries

0

Hi,

I use SMS OTP in my application which works fine. But if a customer gets a SMS and have to input the code within our application I struggle how to detect the amount of retries. (Of course I can do this on client side)

So if I set AllowedAttempts = 3 and send 10 times the same wrong code I do not know how many attempts are left nor that the maximal number of attempts are exceeded. This feels like a bug for me.

{
   "ResponseMetadata":{
      "RequestId":"xxxxx",
      "HTTPStatusCode":200,
      "HTTPHeaders":{
         "content-type":"application/json",
         "content-length":"15",
         "connection":"keep-alive",
         "date":"Sat, 23 Jul 2022 15:19:28 GMT",
         "x-amzn-requestid":"xxxx",
         "access-control-allow-origin":"*",
         "x-amz-apigw-id":"VuesDF7pliAFecQ=",
         "cache-control":"no-store",
         "x-amzn-trace-id":"xxxx",
         "x-cache":"Miss from cloudfront",
         "via":"xxxxx.cloudfront.net (CloudFront)",
         "x-amz-cf-pop":"FRA56-P2",
         "x-amz-cf-id":"xxxxx"
      },
      "RetryAttempts":0
   },
   "VerificationResponse":{
      "Valid":false
   }
}

Why is "RetryAttempts":0 not changing? It is always 0? The Valid field is changing to true if I send within 3 attempts the correct code otherwise it stays allways false.

Any idea what is going on here?

질문됨 2년 전68회 조회
답변 없음

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

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

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

관련 콘텐츠