Skip to main content
Solved

Invalid or unsupported phone number

  • November 24, 2022
  • 1 reply
  • 151 views

Forum|alt.badge.img+2

This is my genuine number and I am using right now, how can this be an Invalid phone number ?

However it works without phone number

 

This is the request I am sending:

```

{
"type":"profile",
"attributes":{
      "email":"p…..@gmail.com",
      "phone_number":"+14168338582",
      "external_id":67,
      "first_name":"parth",
     "last_name":"jani"
    }
} 
 
```
 
Response I am receiving:
 
```
{"errors":
[{"id":"07ee083e-3c91-413c-ba07-95e2ac8aa960",
"status":400,
"code":"invalid",
"title":"Invalid input.",
"detail":"Invalid or unsupported phone number",
"source":{"pointer":"/data/attributes/phone_number"},"meta":{}}]}

 

```
 
why ??

Best answer by Dov

Hi @parthjani7,

Thanks for sharing this with us.

I recommend looking through this article (to ensure you’re meeting all of the pre-requisites) and using the V2 API subscribe endpoint for this request. Check out Brian’s post below as well for more context:

I hope that’s helpful.

View original
Did this topic or the replies in the thread help you find an answer to your question?

1 reply

Dov
Forum|alt.badge.img+61
  • Klaviyo Alum
  • 1493 replies
  • Answer
  • November 25, 2022

Hi @parthjani7,

Thanks for sharing this with us.

I recommend looking through this article (to ensure you’re meeting all of the pre-requisites) and using the V2 API subscribe endpoint for this request. Check out Brian’s post below as well for more context:

I hope that’s helpful.