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

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (71,107)