too_long
More digits than any number in that plan
The number has more digits than the longest subscriber number of its plan, often two numbers run together or an extension typed inline.
- appears in
- reason
- credits
- Free. Invalid numbers never cost a credit.
What it means
E.164 caps numbers at 15 digits and each plan is shorter still. Extensions written as "ext 123" or "x123" are parsed out and returned in the extension field; digits appended without such a marker make the number too long.
What to do
Split off an extension with "ext", or check whether two numbers were pasted as one.
Example response
{
"valid": false,
"reason": "too_long",
"e164": null,
"country": null,
"risk_score": null
}Abbreviated: a real answer carries all 33 fields, listed in the validate-phone reference.
Related
- missing_country · no country was given, and the input does not carry one
- invalid_country_code · the calling code after the + is not assigned to any country
- too_short · fewer digits than any number in that plan
- not_a_number · the input does not look like a phone number
- invalid_length · a digit count the plan never uses
- invalid_number · the right length, but not assignable under the plan
- unassigned_block · the regulator has not allocated the block the number sits in
- emergency_number · an emergency number, not a subscriber line
- short_number · a short code or service number, not a subscriber line
- All verdict reasons
- Phone fields and the risk score
- API reference
markdown version: /docs/reasons/too_long.md