The string supplied did not seem to be a phone number

Describe the problem/error/question

After getting data from a ChatGPT node I get exactly one string (a phone number) when I try to pass this phone number to a HighLevel node it gives an error. But when I add this value manually everything works great.

What is the error message (if any)?

The string supplied did not seem to be a phone number

Please share your workflow

Share the output returned by the last node

[

{

“index”: 0,

“message”: {

“role”: “assistant”,

“content”: “+31653674319”,

“refusal”: null

},

“logprobs”: null,

“finish_reason”: “stop”

},

{

“index”: 0,

“message”: {

“role”: “assistant”,

“content”: “+31413556103,+31651710093”,

“refusal”: null

},

“logprobs”: null,

“finish_reason”: “stop”

},

{

“index”: 0,

“message”: {

“role”: “assistant”,

“content”: “+31640493005”,

“refusal”: null

},

“logprobs”: null,

“finish_reason”: “stop”

}

]

Information on your n8n setup

  • n8n version: 1.66.0
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): ?
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker on VPS
  • Operating system: Ubuntu

Welcome to the community @Robin !

Tip for sharing information

Pasting your n8n workflow


Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.

```
<your workflow>
```

That implies to any JSON output you would like to share with us.

Make sure that you have removed any sensitive information from your workflow and include dummy or pinned data with it!


You pass {{ $json.message.content }} as the value of the phone. However, that values could be “+31413556103,+31651710093” (taken from your sample). Wouldn’t that cause a problem? The service perhaps expects a single phone number.

1 Like

Thank you a thousand times. Here I was preparing myself to create a step to split the string on the comma so I can distribute the phone numbers if multiple were available but I forgot.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.