Solved

Invalid or unsupported phone number

  • 24 November 2022
  • 1 reply
  • 135 views

Badge +1

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 ??
icon

Best answer by Dov 25 November 2022, 16:18

View original

1 reply

Userlevel 7
Badge +61

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.

Reply