I am trying to publish a model from ModelBuilder so that I can use it on my GIS-Web application, so to start with I have created a model with parameters for buffer, and tested it on ArcMap (Desktop) and it works fine, but when I published it on server, and want to run it, an error appears :

esriJobMessageTypeError: ERROR 000816: The tool is not valid.

I have attached some captures

Model for buffer

Geoprecessing parameters

After publishing the service

buffer model from server

Results from server

Edit 1

I have followed these instructions : 1) I have created a folder that contains a toolbox and two folders, one named scratch and the other ToolData, 2) I have added the shapefiles into scratch folder. 3) I created a file geodatabsae called Schema withing the Tooldata folder 4) I have added the shapefiles into the Schema gdb, 5) I have created the model inside the toolbox. 5) I ran the model and it works correctly but when I publish it, it stop working with the error that I mentioned, I think the problem is with the inputs, I don't know why , but when publishing the service, a message appears to confirm uploading the shapefiles and I accept so the process can be done

  • Do you have some objects selected from the input layer? If you've got an object selected that has no geometry, I could see it spitting out that error. Jul 18, 2017 at 13:12
  • @P.T.Curran please the the edited version Jul 18, 2017 at 14:21
  • If you're doing all those steps, why not make them part of one model, rather than executing them separately? You could be getting the data in your scratch workspace wiped out when going from one step to the next. Jul 18, 2017 at 14:31
  • 1
    @RSSIG'IST, do the versions of ArcMap and Server match? Gp services are picky. Make sure you are using the same versions of ArcGIS Server as Desktop. That's actually a requirement for GP services. If you're publishing a geoprocessing service, the ArcGIS Desktop and ArcGIS Server versions must match. server.arcgis.com/en/server/latest/get-started/windows/…
    – Don
    Jul 18, 2017 at 16:30

1 Answer 1


I can say with almost absolute certainty that the problem is mis-matched versions of ArcMap and ArcGIS Server (as Don points out in the comments).

The buffer tool has been enhanced with new parameters/options between the versions. The buffer tool has had changes at 10.1 and 10.3. The publishing process cannot resolve differences in the tools from version to version. For example, if you had ArcMap 10.3 and published to Server 10.2, there is no ability for Server to magically add that new parameter (and Server can't simply ignore that parameter, your workflow may require it). Thus you get the invalid tool error.

With Pro, the analyzers have been enhanced to stop this situation, and you can probably get away with mis-matched server/pro versions when publishing.

  • I have the same issue but my versions of Desktop and Server match (10.8)
    – Mr_Thyroid
    Aug 17, 2022 at 15:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.