AnsweredAssumed Answered

Large JSON query causing Bad Request 400

Question asked by TS3route on Sep 17, 2014
Latest reply on Sep 25, 2014 by sxweagle-co-nz-esridist



I've been using the online service from Esri to perform the Vehicle Routing Problem:

This works fine until I start passing a large number of stops. 70 seems ok but 140 tips it over the edge and gives me a Error 400 Bad Request. I thought I may have a syntax error somewhere so I tried sending the first and last 70 stops separately and it all worked fine.


I have a feeling that the Esri service is capping the JSON Url that I'm passing it, so I tried using POST instead of GET but all I get back is an Error 403 Forbidden response.


Other than writing the request to a public web server and sending the Url to the Esri service, how can I get a large JSON query to work with the online service?