Forum Discussion
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')."
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
- amitchandakSuper User
Baran_Mo , Try some http or https url. I doubt it looking for that
- Baran_MoFrequent Visitor
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?
- Baran_MoFrequent 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?
- RemiGousseRegular 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.
The style seems ok on mapbox studio.
My tokens are ok.
Thanks guys