Select to view content in your preferred language

GP Server GPString Error

04-05-2023 07:06 PM
New Contributor

Hello Support:

Currently, I have a odd issue regarding GPString data type. following is my definition for parameter. All are working well in ArcMap ToolBox. After I publish this tool as GP. then ran. It will give me a error if I give a long number for that.



following was error from ArcGIS Server(10.8.1) retrun.  If I add a letter in this string. (1234567891123456789434343a), working. 


(I thought this is bug for ArcGIS Server)

Any advice from this.





1 Reply
by Anonymous User
Not applicable

I can only think that the incoming json from the web is treating the string of numbers as an integer during serialization. Throwing the letter in there blocks that conversion to make it a string.

0 Kudos