Describe the problem/error/question
Hi, I'm encountering a new ERROR: Bad request - please check your parameters.
I'm seeing this error when generating the Post HTTP Request. The following message appears:
What is the error message (if any)?
Bad request - please check your parameters
Full message
400 - "{"message":"Couldn't Create Twilio Call. Twilio Error: Authenticate","error":"Bad Request","statusCode":400}"
Request
{
"body": {
"assistantId": "7429e26c-0b3a-4c9f-bea0-9f4132d23c16",
"phoneNumberId": "ccb3a058-94da-42c8-9213-889e1d55a7cf",
"customer": {
"number": "+19178175536"
}
},
"headers": {
"authorization": "**hidden**",
"content-type": "application/json",
"accept": "application/json,text/html,application/xhtml+xml,application/xml,text/*;q=0.9, image/*;q=0.8, */*;q=0.7"
},
"method": "POST",
"uri": "https://api.callin.io/call",
"gzip": true,
"rejectUnauthorized": true,
"followRedirect": true,
"resolveWithFullResponse": true,
"followAllRedirects": true,
"timeout": 300000,
"encoding": null,
"json": false,
"useStream": true
}
Other info
Item Index 0
Node type callin.io-nodes-base.httpRequest
Node version 4.2 (Latest)
callin.io version 1.88.0 (Cloud)
Time 5/22/2025, 11:16:30 AM
Stack trace
NodeApiError: Bad request - please check your parameters at ExecuteContext.execute (/usr/local/lib/node_modules/callin.io/node_modules/callin.io-nodes-base/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js:597:21) at processTicksAndRejections (node:internal/process/task_queues:95:5) at WorkflowExecute.runNode (/usr/local/lib/node_modules/callin.io/node_modules/callin.io-core/dist/execution-engine/workflow-execute.js:681:27) at /usr/local/lib/node_modules/callin.io/node_modules/callin.io-core/dist/execution-engine/workflow-execute.js:915:51 at /usr/local/lib/node_modules/callin.io/node_modules/callin.io-core/dist/execution-engine/workflow-execute.js:1246:20
Please share your workflow
Share the output returned by the last node
This is what was happening when it was working:
Hey,
I was going to mention List Calls | callin.io and -H “Authorization: Bearer ”
which seems you have included your bearer token inside the above code, I would delete as other may try access it btw,
also, I would recommend check here for the payload needed it says it requires “This endpoint expects an object.”
Also, I noticed that “json”: false, you could enable this to true, might help fix the issue.
Thank you for the Bearer heads up.
Regarding the error "This endpoint expects an object.", shouldn't this part be sending the object?
You also mentioned: “I noticed that “json”: false, you could enable this to true, might help fix the issue.” - Where within callin.io can I change that setting to true?
Hey there! Yes, that's working well, but it seems the authentication is having an issue with:
Couldn't Create Twilio Call. Twilio Error: Authenticate
This appears to be the primary error.
I tested your setup with an assistance and number, but this particular number was connected via callin.io's default settings, not Twilio.
However, it might be worth checking the callin.io settings for Twilio and re-authenticating on that end.
Hope this helps!