Usage of `datasets create-tileset`
What you've tried already
I've installed mapbox cli and exported an access token with appropriate rights using:
$ export MAPBOX_ACCESS_TOKEN=MY_TOKEN
I've successfully created a dataset using:
mapbox datasets create -n zoom5
I'm having troubles with the mapbox datasets create-tileset command syntax.
mapbox datasets create-tileset {dataset id} tileset -n {user id}.zoom5
An error says Error: {"message":"Account provided in the body and account provided in the url must match"}
Expected outcome
Could you please explain how to use the command more clearly? What is the proper order of arguments?
Thanks
Ok figured it out. There are two ways to run the command.
mapbox datasets create-tileset {dataset id} -n zoom5 {user id}ormapbox datasets create-tileset {dataset id} {user id}.zoom5
However, it results in error with no error description:
{"id":"ck0nzjzjq0f3l2opef2zk4evj","name":"zoom5","complete":false,"error":null,"created":"2019-09-17T15:22:03.077Z","modified":"2019-09-17T15:22:03.077Z","tileset":"{user id}.zoom5","owner":"{user id}","progress":0}
So, technically this is resolved because syntax is clear now. But there is another issue with error description. Is there a way I can obtain an error message?