SAP Knowledge Base Article - Public

3842890 - Phone call phone number saves at 8 digits but fails at 7

Symptom

  • Phone number validation accepts +91 512345 but rejects +91 51234 on a Phone Call record
  • Error: “Failed to update phone call log.” (phoneService.1000, “Invalid phone number.”)

Environment

  • SAP Service Cloud Version 2 1.0
  • SAP Sales Cloud Version 2 1.0

Reproducing the Issue

  1. A phone number with the country code +91 followed by 6 digits (for example, +91 512345) is accepted and saved on a Phone Call record.
  2. The same number with one digit removed (for example, +91 51234) cannot be saved and shows the error “Failed to update phone call log.”
  3. The error response contains code phoneService.1000 with the message “Invalid phone number.”
  4. The behavior occurs when the phone number on an existing Phone Call record is edited.
  5. Validation does not confirm that an accepted number is assigned or routable.

Cause

  • Phone number validation uses the “possible number” check of the libphonenumber library.
  • A number is accepted when its national significant number (the digits after the country code) is at least the minimum length allowed for that country. The check does not confirm that the number is assigned.
  • A national significant number below the minimum length is rejected as an impossible number.
  • Validation does not check area codes or number ranges against the country’s numbering plan.

Resolution

  • The system is working as designed.
  • Workaround:
    • Enter the complete phone number in international format (E.164), including the full number of digits assigned to the country.
    • Confirm the number with a reliable source before saving it on the Phone Call record.

See Also

KBA 3839866 - WhatsApp Mexican numbers (13 digits) shown as invalid in Agent Desktop 

Keywords

phone number validation, phone call, possible number, libphonenumber, E.164, national significant number, country code, phoneService.1000, Invalid phone number, Failed to update phone call log, Failed to update phone call log, Invalid phone number, phoneService.1000, phone call update error, phone call save error, phone number validation, phone number format, phone number length, minimum digits phone number, invalid phone number format, phone number accepted incorrectly, too few digits phone number, E.164, libphonenumber, libphonenumber-js, possible number, impossible number, national significant number, country code, country code +91, India phone number, international phone number format, Phone Call object, phone call record, phone number field, Service Cloud V2 phone call, SAP Service Cloud Version 2 phone number, phone number saved but invalid, invalid phone number accepted, can’t save phone number, edit phone call phone number error  , KBA , CEC-CRM-PH , Phone Calls for SAP Sales/Service Cloud , CEC-CRM-CTI , CTI for SAP Sales/Service Cloud , CEC-CRM-AD , Agent desktop - live channels , Problem

Product

SAP Service Cloud Version 2 all versions