Hi all,
I'm using a custom connector to interact with Microsoft Forms.
One of the actions of the connector is to add a new question to a group form.
In the connector testing step, I can work with it and add a new question. These are the parameters:
However, in Power Automate, using the same parameters:
I get the error: "BAD REQUEST".
These are the raw inputs:
{
"host": {
"connectionReferenceName": "shared_pg-5fformsapi-dsfsdf",
"operationId": "NewQuestion"
},
"parameters": {
"groupID": "zczxc\n",
"FormID": "fsdfdaf",
"body": {
"questionInfo": "{\"Choices\":[{\"Description\":\"Opção 1\",\"IsGenerated\":true},{\"Description\":\"Opção 2\",\"IsGenerated\":true}],\"ChoiceType\":1,\"AllowOtherAnswer\":false,\"OptionDisplayStyle\":\"ListAll\",\"ChoiceRestrictionType\":\"None\",\"ShowRatingLabel\":false}",
"type": "Question.Choice",
"title": "Perguntaxxxx",
"id": "rce12388a233748439139bec8cf4d05a2",
"order": 2000700,
"isQuiz": false,
"required": false
}
}
}
Can anyone help?
Thanks!
How is the body configured within the custom connector. I think the data (while using flow) is posted as string and not as JSON object.
Anyone?
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1