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?

demandé il y a 2 ans439 vues
1 réponse
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.

répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions