Mon, 02/12/2018 - 07:54
#1
Receiving 404 errors when requesting elevation data
E.g. http://open.mapquestapi.com/elevation/v1/profile?key=MY_KEY&unit=f&latLn...
It seems to be sporadic. Occasionally the GET request will succeed, but not reliably.
We are having this exact same issue now too.
We previously made a few changes to account for the fact that the User Agent of the request couldn't be blank any longer using urllib but now we are getting 404s on about 50% of the calls. It isn't working in the browser either. The first one works but then the second and subsequent ones don't. It is almost like it is throttled but isn't telling us about it.
Our calls are similar to those of jackcooper, a single point.
http://open.mapquestapi.com/elevation/v1/profile?key=KEY&shapeFormat=raw...
So far so good... Thanks for addressing the issue quickly.
This is still occurring for me. I'm using XML output format, but I'm not sure if that matters for this issue. The problem seems to occur for both JSON and XML.
Works great for me.
Have you not seen any results since February?
Can you post a sample request that is failing?
Here's an example request:
https://open.mapquestapi.com/elevation/v1/profile?key=KEY&latLngCollecti...
It fails about 50% of the time.
Thanks. This is still failing about half the time. Do you know if the data center change was made?
this fails everytime, and it's an example from the website: https://developer.mapquest.com/documentation/open/elevation-api/elevation-profile/get/
http://open.mapquestapi.com/elevation/v1/profile?key=KEY&shapeFormat=raw...