Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

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

Open
vinoth-berkmons opened this issue Jan 10, 2022 · 2 comments

Comments

@vinoth-berkmons
Copy link

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
Copy link

<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
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants