cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
cpierich
Level: Power Up

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.

efialtes
Level 8

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

Anonymous
Not applicable

Re: Add Event from SharePoint List

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

Erihje
Level: Power Up

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.

Jusmark
Level: Power Up

Re: Add Event from SharePoint List

Has anyone been able to get past this error?

 

I'm having the same issue

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?

mhalverson
Level: Powered On

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,791)