cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Add Event from SharePoint List

I am trying to add an O365 event in to users calendar when a new item is added to a list on sharepoint.  The Item has a start time and end time, which I am assigning to the O365 event start and end time.

 

The output for these are formated as  Manage - Microsoft Flow

  • EndDateTime": "2016-05-26T13:32:09Z",
  • StartDateTime": "2016-05-26T13:30:09Z",

 I keep getting the error

Outputs
Body{
"status": 400,
"message": "A value must be provided for item.",
"source": "127.0.0.1"
}

Headers{
"Pragma": "no-cache",
"x-ms-request-id": "7ac4a785-d380-48ab-8310-2f6c1e719d98",
"X-Content-Type-Options": "nosniff",
"Cache-Control": "no-cache",
"Date": "Wed, 25 May 2016 13:29:34 GMT",
"Set-Cookie": "ARRAffinity=bd234d641306dd3448fce384ea7a53bf259c53591cd1e441e64262d26c707c2b;Path=/;Domain=127.0.0.1",
"Server": "Microsoft-IIS/8.0,Microsoft-HTTPAPI/2.0",
"X-AspNet-Version": "4.0.30319",
"X-Powered-By": "ASP.NET",
"Content-Length": "82",
"Content-Type": "application/json; charset=utf-8",
"Expires": "-1"
}

 

Can someone please help me with at least letting me know which variable in not being passed.

7 REPLIES 7
Highlighted
New Member

Re: Add Event from SharePoint List

Check the items you're populating in the event and make sure they're pulling from fields that have populated information. This happens when something you're trying to add in the event doesn't have information associated with it such as referring to a field that someone didn't populate with data because it wasn't required.

Highlighted
Kudo Kingpin
Kudo Kingpin

Re: Add Event from SharePoint List

@Rhys

I got the same error when testing this, here is a screenshot from my test flow.

I got the 

The parameter "Fecha objetivo de precarga" is a column defined in a Sharepoint list with Date format. The three columns used as inputs for Create Event are mandatory fields in the Sharepoint list. Anyway I tried also with StartTime: 2016-06-01T19:30:00Z (same output format taken from Office365 Calendar GetEvents) and Subject: Test

 

CreateO365CalendarEvent.png

Highlighted
Anonymous
Not applicable

Re: Add Event from SharePoint List

I have tried this with manually entered information as well and get the same error.

Highlighted
Advocate I
Advocate I

Re: Add Event from SharePoint List

Hi,

 

Im also experiencing the same issue, the two mandator fields in flow on Create Event is populated when i check the SP List correctly.

Highlighted
New Member

Re: Add Event from SharePoint List

Has anyone been able to get past this error?

 

I'm having the same issue

Highlighted
Anonymous
Not applicable

Re: Add Event from SharePoint List

Hi my workflow has this error:

 

Outputs
  • Body
    { "status": 500, "message": "Unknown error.", "source": "127.0.0.1" }
  • Headers
    { "Pragma": "no-cache", "x-ms-request-id": "1fe1dc8b-9811-4f86-baf0-c8f58aacbeb8", "X-Content-Type-Options": "nosniff", "Cache-Control": "no-cache", "Date": "Mon, 25 Jul 2016 14:14:05 GMT", "Set-Cookie": "ARRAffinity=f37fb0fe9191f5a45f46306a99ae6c2e80506ec6e6c6e4ccceef1785ef1f4145;Path=/;Domain=127.0.0.1", "Server": "Microsoft-IIS/8.0,Microsoft-HTTPAPI/2.0",

Also it creates many events in my calendar, any idea?

Highlighted
Regular Visitor

Re: Add Event from SharePoint List

I'm trying to do the same thing and no matter what date I enter in the start and end date it fails.  The only way that anything works is when I leave the start date and end date blank.  At that point it adds 5 events to my calendar.  Does anyone know if this actually works?

 

Thanks

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (9,145)