Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
cari_mendez
New Member

Power BI REST API: cannot create favorite item

I'm using the Power BI REST API in my web application. For already some years the "set favorite" was working fine for all reports by calling the API method /FavoriteItems with POST and passing an object with the "Id" attribute (id of the report). But since some months I am getting the following error message:

The property 'id' does not exist on type 'Model.FavoriteItem'. Make sure to only use property names that are defined by the type.

Do you know if something has changed in the API and how I can set a report as a favorite now via the API?

On the contrary, elimination from favorites (/FavoriteItems(<object with Id>) as DELETE request) works as usual.

I would really appreciate if you can help me solving this issue as it is for an application in production and users cannot use this functionallity for already quite a few months. Thanks a lot!!

1 REPLY 1
d_gosbell
Super User
Super User

The properties are case sensitive. The favourite payload expects an "Id" property, from the error it looks like you are passing an "id" property with a lowercase "i" - try using "Id" in your payload

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.