Hi. A user of my application entered a phone number with a 411 area code, which is Bermuda. I’m using a library to add the country code to user input, and it added a +1 to this phone number, which I believe is correct. Unfortunately, the https://connect.squareup.com/v2/loyalty/accounts
endpoint threw the following error (I have replaced the user’s phone number with x’s below):
{"code":"INVALID_PHONE_NUMBER","field":"phone","detail":"Loyalty phone number +1441xxxxxxx is not formatted correctly or uses an unsupported country code","category":"INVALID_REQUEST_ERROR"}
How should this number be formatted?