web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Update Event Item with...
Power Automate
Unanswered

Update Event Item with HTTP Request to SharePoint ERROR: "An entry without a type name was found, but no expected type was specified. "

(0) ShareShare
ReportReport
Posted on by 27

Hi everyone,

 

I am trying to update an event list item with the PATCH method and an HTTP request to SharePoint. I want to change the "All day event" to true for bank holidays. I couldn't figure out what I am doing wrong. I always receive the following error:

 

An entry without a type name was found, but no expected type was specified. To allow entries without type information, the expected type must also be specified when the model is specified.

 

This is how the HTTP request looks like

 

Tomeczek_0-1621254965818.png

 

Glad for any kind of help 🙂

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @Tomeczek,

     

    It looks like your are missing a leading underscore character in your body value.

     

    However, you can update without the metadata part. Below is an example of a POST request with different headers and a different body value. Let me know if that works for you.

     

    Headers

    {
     "Accept": "application/json;odata=nometadata",
     "Content-Type": "application/json;odata=nometadata",
     "If-Match": "*",
     "X-HTTP-Method": "MERGE"
    }

     

    Body

    {
    "Title": "All Day Event Test date time",
    "EventDate": "@{variables('Date')}",
    "fAllDayEvent": true
    }

     

    alldayevent.png

  • Thomas Fialek Profile Picture
    27 on at

    Thanks!! It worked 🙂

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard