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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.