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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. 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

Share with Power BI Enthusiasts: 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.