Closed wboykinm closed 6 years ago
per chat, we figured out this was due to rate-limiting
For future reference, I was able to get around this error to a limited extent by
resolution
paramsetTimeout()
to the request loopThis would be better-tuneable as a node script, but that's a whole other can of worms. Thanks for the help @peterqliu!
👍 thanks for writing out those tips. I just merged a PR that addresses/alleviates some of these relevant troubles https://github.com/mapbox/mapbox-isochrone/pull/14
Following up on the ambiguous-yet-earnest #9, I looked at the responses to the looped directions API call. I logged the error associated with the call and found this:
"message":"Too Many Requests"
@peterqliu did the platform team feel this module was hammering the API too hard and lock usage down? Any single call still works fine.