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

Create item in sharepoint event list not working

I've edited a flow for approval of leave requests. 

 
The part that doesn't work is once approved, it should create an item in a different event list called Staff Calendar. I didn't create this as a list but using the SharePoint apps to create a calendar.


The response i'm getting is 400. 

 

Input 

{
  "Title""Steve Test 7",
  "EventDate""2020-07-20T07:30:00Z",
  "EndDate""2020-07-20T07:30:00Z",
  "EventType": {
    "@odata.type""#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
    "Id"1,
    "Value""Holiday"
  }
}
 
 
Output
 
{
  "status"400,
  "message""Object must implement IConvertible.\r\nclientRequestId: 2ab90b66-6e98-440f-b9a0-769ffd1c43fe\r\nserviceRequestId: 2ab90b66-6e98-440f-b9a0-769ffd1c43fe"
}
 
I wasn't sure if this problem was to do with using an events list, you can't select the list on power automate but can put a custom value. 
 
1 ACCEPTED SOLUTION

Accepted Solutions
globe11123
New Member

Think I've found the problem inserting values into EventType! I've removed this now.

 

Seems to be working fine. 

View solution in original post

1 REPLY 1
globe11123
New Member

Think I've found the problem inserting values into EventType! I've removed this now.

 

Seems to be working fine. 

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,202)