Error while to Adding to Whatsapp group
Status: Closed · Asked by AmitG on · 0 views
I am gettting following error while mobile number is getting added to whatsapp group. How to decode the issue?
Task History ID: IjExNjg1MDk5MSI_3D
Step Name: Chat API > Add Participant to Group
Task Error Detail:
{
"response": "\n\n\n\nError\n\n\n
SyntaxError: Unexpected token "\n\n\n"
at parse (/app/node_modules/body-parser/lib/types/json.js:83:15)
at /app/node_modules/body-parser/lib/read.js:116:18
at invokeCallback (/app/node_modules/raw-body/index.js:262:16)
at done (/app/node_modules/raw-body/index.js:251:7)
at IncomingMessage.onEnd (/app/node_modules/raw-body/index.js:307:7)
at IncomingMessage.emit (events.js:203:15)
at endReadableNT (_stream_readable.js:1145:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
}
Hey @AmitG
In the "Chat API: Add Participant to Group" action event you have to pass the phone number of the user without the "+" from the prefix of the number.
Kindly check that out and try this at your end.
