mapbox/mapbox-gl-native

ERROR Mapbox error {com.xxx}[Style]: Failed to load source composite: HTTP status code 403

vinoth-berkmons opened this issue · 2 comments

Hi,

I am new to MapBox.
while loading the map am getting below error.

ERROR Mapbox error {com.xxx}[Style]: Failed to load source composite: HTTP status code 403 {"level": "error", "message": "{com.xxx}[Style]: Failed to load source composite: HTTP status code 403", "tag": "Mbgl"}

image

<MapboxGL.MapView
preferredFramesPerSecond={1000}
animated={true}
style={styles.map}
styleURL={MAP_BOX_STYLE}
ref={useCallback(r => {
mapRef.current = r
}, [])}
onRegionWillChange={() => {
setIsLoading(true)
}}
onRegionIsChanging={() => {}}
onRegionDidChange={feature => {
getAutoCompleteLocation(feature.geometry.coordinates)
location.current = feature.geometry.coordinates
}}
/>
You can check your your maptiles key in styleURL. Maybe the key has expired

@vinoth-berkmons Did you find any solution regarding this issue?