cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jlecras
New Member

400 error message BadRequest

I have set up a standard Flow from a template to Add Planner task, send email and post to Teams on SharePoint item creation.

I am getting an error saying that that the flow has failed.

 

Headers

Access-Control-Allow-Methods
GET, PUT, PATCH, DELETE, POST
Access-Control-Allow-Origin
*
Access-Control-Max-Age
3600
Access-Control-Expose-Headers
*
Date
Mon, 11 Nov 2019 09:12:12 GMT
Content-Length
264
Content-Type
application/json
 
Body
{
"error": {
"code": 400,
"message": "the assignments field must be string",
"source": "flow-apim-europe-001-northeurope-01.azure-apim.net",
"path": "choose[2]\\when[1]",
"clientRequestId": "dbd074b0-6a4a-44b9-8422-c0adb914304c"
}
}
To be honest I don't have a clue how to fix it 
any help gratefully received
1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @Jlecras,

 

Before you using the template, you should create a SharePoint list like the following shows:Annotation 2019-11-12 095011.png

 

The AssignedToEmail should be single line of text type, the PlannedStart and DueDate are Date type, and the Bucket should be choice type.

Please have a try and confirm these columns' names are correct.

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-litu-msft
Community Support
Community Support

Hi @Jlecras,

 

Before you using the template, you should create a SharePoint list like the following shows:Annotation 2019-11-12 095011.png

 

The AssignedToEmail should be single line of text type, the PlannedStart and DueDate are Date type, and the Bucket should be choice type.

Please have a try and confirm these columns' names are correct.

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,513)