Reputation: 29
When making a request to the MapBox API to create a new dataset we keep getting a response 404 { "name": "foo", "description": "bar" }.
We are sending the code: curl -X POST “https://api.mapbox.com/datasets/v1/username?access_token=TOKEN” \ -d @mapboxtest.json \ --header “Content-Type:application/json
Upvotes: 0
Views: 704
Reputation: 29
Problem Solved!!!
It's just a wierd message. My token key is not allowed to change datasets, that was the problem. It was the default public key!
Upvotes: 2