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?

posta 2 anni fa439 visualizzazioni
1 Risposta
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.

con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande