mapbox / mapbox-gl-native

Interactive, thoroughly customizable maps in native Android, iOS, macOS, Node.js, and Qt applications, powered by vector tiles and OpenGL
https://mapbox.com/mobile
Other
4.34k stars 1.33k forks source link

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

Open vinoth-berkmons opened 2 years ago

vinoth-berkmons commented 2 years ago

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

NguyenThinh-17001510 commented 2 years ago

<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

Saileek-bidchat commented 1 year ago

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