Phone number validation rejects new Canadian area codes 257 and 942
If you have a Canadian phone number with area code 257 (British Columbia) or 942 (Toronto/Ontario), eBay will reject it as invalid when you try to use it for account verification, checkout, or any phone number field on the site.
These numbers are not valid against the Regex for CA. When you search for the `country_calling_codes` in the javascript files you will see what I mean.
These are real, active area codes approved by the CRTC (Canada's telecom regulator) under Decision 2023-135. Area code 942 went live April 26, 2025 and 257 went live May 24, 2025. They are assigned to major carriers like Telus, Bell, and Rogers. These are not VoIP numbers, not temporary numbers, and not anything unusual. They are standard Canadian mobile and landline numbers.
The problem is that eBay's phone number validation library (likely Google's libphonenumber or a similar package) contains a hardcoded list/regex of valid Canadian (CA) area codes in its metadata, and that metadata has not been updated to include 257 or 942. The validation rejects the number before it ever reaches carrier verification or SMS delivery. Clearing your cache, switching browsers, or any other standard troubleshooting will not fix this because the rejection happens server-side against an outdated allowlist.
I have confirmed that current versions of all major phone validation libraries (libphonenumber v9.0.7+, intl-tel-input v25.11.0+) recognize both area codes as valid. eBay's system is the outlier.
This is not an isolated issue. I have encountered the same outdated-metadata problem on multiple platforms over the past several months and have successfully gotten it fixed elsewhere by reporting it. The root cause is always the same: the platform's phone validation dependency needs to be updated to a version released after mid-2025.
For context, another new Canadian area code (273, Eastern Quebec) goes live February 27, 2027, so this will recur unless eBay establishes a process for keeping this metadata/regex current.
Here is the current Regex for CA area codes:
This regex is missing the items for 257 and 942. I'm not familiar Ebay's internal website development but likely this is a simple library update.
Unfortunately ebay support people, who I've contacted twice over the phone, are not able to help fix this issue or escalate to the appropriate people.
Would appreciate if anyone can forward this to the appropriate internal ebay dev/engineering team to get fixed. Also it's likely preventing a pretty sizable number of people from being able to register accounts with ebay as all phone number with those area codes cannot be validated.
lacemaker3
·5 months ago@0x0_44
It would be best to post this on the eBay Canada community forum, to reach the right team.
https://community.ebay.ca/
0x0_44
OP5 months ago@lacemaker3 I did post on eBay Canada first but it got auto flagged as spam. Had to submit a petition to the moderator to un-flag it. 😑