WebRequest error ==> Invalid URI: The Uri string is too long
Hi, I'm trying to send a large geometry (our city limits) to Esri's Data Enrichment service. To do this I use the WebRequest activity, and send the geometry in JSON format. This works for smaller polygons, but fails on large ones with the error "Invalid URI: The Uri string is too long". The documentation says it defaults to POST, so I'm not sure why this would be failing, as I thought POST could handle any length of strings. Any ideas?
Thanks!
0
-
Are you appending your geometry parameter to the end of the Uri argument? The Uri has a length limit, but the POST body does not. If you add the geometry as a separate parameter, using the "Create Parameter" button it should work fine.
--Ryan0 -
Thanks Ryan. Worked like a charm! 0
Please sign in to leave a comment.
Comments
2 comments