Hello all,
I am trying to publish a script as a geoprocessing tool to an ArcGIS enterprise environment.
The tool accepts its input as a string from the user and returns some statistics using features hosted on ArcGIS online. It does not use any local data or data hosted on the database. Whenever I try to publish the tool I keep receiving the attached error.
I also have tried another enterprise environment and still received the same error.
I am grateful if anyone can help with this.
@OsamaOthman Did you ever resolve this issue? I am getting the same error with the most basic of script tools (in a Python toolbox).
I resolved the issue by removing the feature classes attribute rule that threw errors when I tried to create a feature in that feature class. Once I deleted the attribute rule, the upload worked.