You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Completely fill out a valid non-US address, then make Address Line 1 something fake (eg: 123 fake st)
Submit the form
Receive error
Update Address Line 1 with the valid value
Submit the form
Receive error:
Uncaught (in promise) Error: Expected countryCode to be of type string
at validateArguments (verify.js:36:1)
at verifyInternational (verify.js:89:1)
at handleSubmit (AddressFormInternational.js:78:1)
Any thoughts on a fix or workaround? Thanks
The text was updated successfully, but these errors were encountered:
I took a look at this. I don't think this is an explicit error. I think the error is a bit unclear but international verifications require a country code.
I'm no longer working on this but @amaan-lob or @vmangwani might be able to answer this question a bit better.
See https://github.com/lob/react-address-autocomplete/blob/main/src/AddressForm/AddressFormInternational.js#L85
Steps to reproduce:
Uncaught (in promise) Error: Expected countryCode to be of type string
at validateArguments (verify.js:36:1)
at verifyInternational (verify.js:89:1)
at handleSubmit (AddressFormInternational.js:78:1)
Any thoughts on a fix or workaround? Thanks
The text was updated successfully, but these errors were encountered: