Trying to transfer a style between 2 accounts by downloading the JSON styles from one studio style and then uploading it to a second account.
When transferring a private map style from account 1 to account 2, during the upload process to account 2, I get "Sprite does not exist or is private" the upload fails. I don't want to make the styles public, just need to transfer the styles from my dev account to the client's production site. The sprites that I am using are all specified in my JS so the sprite that is referenced in the style is not important anyway. Any ideas?
If the sprite is not important, then you can open the style.json
file and update
"sprite": "<private-sprite>",
to
"sprite": "mapbox://sprites/mapbox/bright-v8",
This would at least pass the upload validation, but like I said, it would not be the same if the correct sprites are necessary.