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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
StephanieJoly4 opened this issue May 28, 2025 · 3 comments

Comments

@StephanieJoly4
Copy link

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"

@MohitAgrawal16
Copy link

Hey @StephanieJoly4, can I work on this issue? I have experience with open-source contributions and am also familiar with API handling.

@StephanieJoly4
Copy link
Author

Hi @MohitAgrawal16 , thanks for reaching out! Yes please feel free to share a PR and our engineering team will review it !

@ijreilly
Copy link
Collaborator

ijreilly commented Jun 2, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🔖 Planned
Development

No branches or pull requests

3 participants