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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Baran_Mo
Frequent Visitor

Error: Cannot Read Properties of Undefined (Reading 'Composite') with Mapbox Custom Style in Powerbi

Hello Every one

I'm encountering an issue with a Mapbox custom style in Power BI, and I'd appreciate any help or insights from the community. When attempting to use a Mapbox custom style URL in my Power BI report, I consistently receive the error message: "Cannot read properties of undefined (reading 'composite')."

Error.png

 


Error1.png

Details:

I have verified that the Mapbox Style URL is correct and loads properly in a web browser.
My Mapbox access token is valid and configured correctly in Power BI.
I am using the latest version of Power BI Desktop.
The error persists whether or not I include layers in the Mapbox style.
I have checked the layer properties and configurations within Mapbox Studio.
I am using HTTPS for the Mapbox Style URL.
Clearing the Power BI Desktop cache did not resolve the issue.


Mapbox Style URL:
mapbox://styles/baran-m/clq1q9gte015i01qm4sb103xm


Any insights or suggestions on resolving this issue would be greatly appreciated. Thank you in advance for your help!



4 REPLIES 4
RemiGousse
Regular Visitor

Hi,

 

Really interested about the resolution of this issue, because i'm having the exact same problem here while i try to follow this exemple : 

https://www.youtube.com/watch?v=6vvfVyw8ZmY&ab_channel=NextGenBIGuru

When i try to use my style on my mapbox visual, boom, this error occurs.

RemiGousse_1-1704297851734.png

The style seems ok on mapbox studio.

RemiGousse_2-1704297904772.png

My tokens are ok.

 

Thanks guys

 

Baran_Mo
Frequent Visitor

Thank you for your efforts. I appreciate your advice, and after implementing it, here are the outcomes. Could you kindly suggest an alternative solution?

 

https.png
http.png

 

amitchandak
Super User
Super User

@Baran_Mo , Try some http or https url. I doubt it looking for that

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you for your efforts. I appreciate your advice, and after implementing it, the above pictures are the outcomes. Could you kindly suggest an alternative solution?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.