Tileset API Returning 500 on Tileset Upload
michael-tidd opened this issue · comments
Within the data project, for some reason https://api.mapbox.com/tilesets/v1/sources/${user}/${name} is returning a 500 when its called. When this occurs the program exits rather than continuing on to upload the recipe.
What's stranger is if I execute the data project 10 times I receive an error indicating I've reached my limit of 10 files for the source. Also when trying to list the tile sources I get an empty array back.
I realize the api specifically is probably outside of the scope of this project, but it seems this project is failing to execute at this point.
@michael-tidd - thanks for the issue. We'll take a look at this today.
Just to clarify - this is all getting returned from the publishData script in data
?
Can you drop a screencap of the errors you are seeing?
@cmtoomey awesome.
Yeah it looks like the error is actually occurring in @sansumbrella personal mapbox-tileset project (maybe this issue should be filed there).
The response text is at line 17 of their uploadSource.ts
Stack traces back to line 32 of uploadData.js in this project.
{"message":"Internal Server Error"}
I've confirmed that the ndjson uploads just fine via the CLI.