Skip to content

Updating phone numbers using the API adds a "+1" in front of numbers despite having selected "no country" in the data model #12343

@StephanieJoly4

Description

@StephanieJoly4

Bug Description

  • Reported by a customer, I can reproduce locally
  • Configuration of the data model is phone / "No country" selected when configuring the country code.
  • When adding a phone number in a record using the UI, for example "+10987654321", I see this exact string in the phone field.
  • However when I test updating this field using the API, I get "+1+10987654321".

Example:
I ran my tests in the "Customer playground" workspace, associated with my email.
Here is the workflow I used for the API call.

Expected behavior

The API calls updates the record with the value "+10987654321"

Metadata

Metadata

Assignees

Type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions