I'm using mapbox studio to produce custom map and accessing that style in js. but I'm not able to access that style when calling api. it simply returns with {"message":"Not Found"} I can directly access the api link through mapbox studio. In mapbox studio in styles we have map style id and api link. so i can access it using that link but when I actually use in my application it's not working.
here is the code where I'm getting error:
               map.addSource('parcels', {
                    "type": "vector",
                    "url": "mapbox://styles/ch*****/ci****************"
                });
Hoping to get some good help. thanks Akshay