Hi Developers
I am working on geoprocessing services and getting error in setting parameters, it was working well in my previous application but while upgradding the application I have to republish all the geoprocessing services. I have updated all python and arcpro upgradation in my code but still getting the error given below
Traceback (most recent call last):
File "C:\Data\ArcGIS Pro Projects\Other_Data\Default.tbx#AnalyzeIOPC_Default.py", line 209, in <module>
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\__init__.py", line 718, in SetParameter
return gp.setParameter(index, value)
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 257, in setParameter
self._gp.SetParameter(*gp_fixargs(args, True)))
RuntimeError: Object: Error in setting parameter
my code is
arcpy.SetParameter(6, retList)
arcpy.SetParameter(7, retjson)
Please help me in my taskas soon as posible. I am open for suggestions.