Account Creation: International phone numbers deemed invalid due to length #1881

Closed
opened 2026-04-05 16:37:18 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @MarioLiebisch on 7/9/2023

Describe the bug
I tried to setup a cloud account to test the service, but had to lie/fake the phone number field, as our actual German business phone number didn't pass the validity test, as it's deemed to be too long (which it isn't. according to standards).

To Reproduce
Steps to reproduce the behavior:

  1. Start creating an account
  2. Try entering a longer German telephone number in international notation: +4911112222222 (1s = area code, 2s = local number)
  3. Move to he next input field and observe the number being deemed invalid

Expected behavior
The phone number should be accepted, even if it's longer than a typical US number, as long as it satisfies ITU-T E.164.

Screenshots
Screenshot

Additional context
OneUptime currently follows ITU-T E.123, which uses the US 3-3-4 format.
This won't work for some international numbers, like many German ones, as the area code might consist of up to 4 digits (ITU-T E.164 allows up to 15 digits total, compared to E.123's 12 digits)

*Originally created by @MarioLiebisch on 7/9/2023* **Describe the bug** I tried to setup a cloud account to test the service, but had to lie/fake the phone number field, as our actual German business phone number didn't pass the validity test, as it's deemed to be too long (which it isn't. according to standards). **To Reproduce** Steps to reproduce the behavior: 1. Start [creating an account](https://oneuptime.com/accounts/register) 2. Try entering a longer German telephone number in international notation: `+4911112222222` (1s = area code, 2s = local number) 3. Move to he next input field and observe the number being deemed invalid **Expected behavior** The phone number should be accepted, even if it's longer than a typical US number, as long as it satisfies ITU-T E.164. **Screenshots** ![Screenshot](https://github.com/OneUptime/oneuptime/assets/1854245/8fb49544-6137-47f3-8538-ec0dbbaf267f) **Additional context** OneUptime currently follows ITU-T E.123, which uses the US 3-3-4 format. This won't work for some international numbers, like many German ones, as the area code might consist of up to 4 digits ([ITU-T E.164](https://en.wikipedia.org/wiki/E.164) allows up to 15 digits total, compared to E.123's 12 digits)
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#1881