mapbox / real-time-maps

Visualize real-time data with Mapbox

Home Page:https://demos.mapbox.com/realtime-maps/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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?

cc @sansumbrella

@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"}

image

I've confirmed that the ndjson uploads just fine via the CLI.