AnsweredAssumed Answered

“ERROR 000800: The value is not a member of” when calling GPservice with javascript API

Question asked by jon.morris on Jul 10, 2015
Latest reply on Jul 21, 2015 by mlewis22

I've published a GP tool with a string choice list input but when I try and call it, I get error 000800.


Request URL: http://srv:6080/arcgis/rest/services/Test/LFPSetupBasicSDE/GPServer/LFP%20Setup%20Basic%20SDE/submitJob?f=json&Water_Depth=203.70&Stage_Age=Aqui



ERROR 000800: The value is not a member of 47.85 | 67.00 | 95.75 | 138.90 | 203.70 | 301.00 | 447.05 | 666.30 | 995.55 | 1500.85.


The Water_Depth value is clearly in the list, but I'm wondering if it's being received as a float. In both my javascript code for the site and the tool python script it is handled as a string and the tool parameter input is set to string.


Unsurprisingly, the help for this error is no help at all.


Does anyone know how POST requests are interpreted on the server? Are all the values taken to be strings, or does it attempt to parse numbers?