Design comparison
SolutionDesign
Community feedback
- @cbserraPosted over 1 year ago
I'm unable to get the map to load in any scenario. On initial page load, I receive these errors in the console (Chrome Canary browser):
ajax.js:143 GET https://api.mapbox.com/styles/v1/daniel-gp/ckqtg9brz5axa18qs0ic1dhdo?access_token=pk.eyJ1IjoiZGFuaWVsLWdwIiwiYSI6ImNrcXRmNXliYzA3bTIycHA4c2pycjNyeXQifQ.mTaMRpxwC6qtPk1-VefRJQ 401 (Unauthorized) u @ ajax.js:143 (anonymous) @ ajax.js:185 At @ ajax.js:241 t.getJSON @ ajax.js:252 loadURL @ style.js:253 _updateStyle @ map.js:1420 setStyle @ map.js:1395 Map @ map.js:511 (anonymous) @ map.js:2 evented.js:149 Error: Unauthorized: you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes at ajax.js:149:33
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord