There is a Geoprocessing tool that has been published in an ArcGIS server instance. this tool has several parameters defined as GPString.
One of the parameters is intended to receive a collection of objects in WKT format.
Doing some initial test the Geoprocessing service works with any issue.
When the tool is exposed to real examples, it start receiving long strings, it means really loooong strings.
For this case it is send an string with 9.220.000 characters approx. and the service answer is:
When the log of the server is check, it indeed create the job and try to process it, but the Python code of the tool never receives the parameter (As can be seen in the 4th message - it should prints the parameter):
I have trying to figure it, through the documentation, about the limit of the GP parameters, but so far, i have not found it.
I found two possible solutions, it is to use the upload task of the GPService and pass the upload item id as a parameter, the other one is to use the SOAP endpoint (but SOAP endpoint are going to be deprecated.....so...better not to implement it)
Does any one know this limitation? probably someone from inside ESRI? ( @SimonSuo @SimonSuo1 )