Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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!!
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
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |