Invalid AWSPhone on AppSync

0

We are creating a record on AppSync with the following valid phone number: +65 8051 2187 but are returned with an invalid 'AWSPhone' value. Wouldn't the AWSPhone validation needs an update?

질문됨 2년 전439회 조회
1개 답변
1

I’m having the same issue. AppSync is returning an error when a field is of type AWSPhone and has correct payload.

Here is the error message returned: "Variable 'phone' has an invalid value. Unable to parse +13451112222 as a valid phone number."

The phone number +13451112222 is valid (I put 1112222 here to hide real one), and passes validation on many other phone validation libraries. Is just that the area code 345 is from Cayman Islands.

답변함 2년 전

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

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

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

관련 콘텐츠