Select to view content in your preferred language

GP Server GPString Error

413
1
04-05-2023 07:06 PM
DECCA_Jimmy
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.

DECCA_Jimmy_0-1680746567203.png

 

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

DECCA_Jimmy_1-1680746682922.png

(I thought this is bug for ArcGIS Server)

Any advice from this.

 

 

Thanks

 

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