Hello all
I am using ArcGIS pro 2.8 and arcgis portal 10.9.
I am trying to automate the process of publishing mosaic image services using python(Arcpy). I followed the ESRI documentation (publish an image ) and found out that
So i skipped this step and followed the next steps i.e. stage service and upload service definition. stage service is successful but in upload service definition getting an ERROR 002901- SHARING RELATED ERROR DURING GEOPROCESSING (UNABLE TO CHECK IF SERVICE EXIST.(nameofservice))
or else
Hey @geeblr
it's a bit tricky and we had a lot of effort to this case. It already starts with the correct input format. In our workflow we take netCDF... What is yours?
@RehanChaudhary can you help further?
@geeblr The call to upload service definition has changed. Please refer to this documentation for how to use the method correctly: https://pro.arcgis.com/en/pro-app/latest/tool-reference/server/upload-service-definition.htm
I have seen the code snippet you have linked. The workflow is still pretty much the same but some the methods have become deprecated as i assume it was never updated so please refer to arcgis pro documentations for latest methods. hope it helps!
Hello @RehanChaudhary i too had followed the code from arcgis pro documentation .
Still the error is same.
this time i tried to change the ags file of portal version 10.9
i am getting
can you please share the complete code that has worked for you.