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. 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (4,529)