Python Script published as Geoprocessing service is not working from ArcGIS javascript API

04-11-2017 10:16 PM
New Contributor III


I am having data in file gdb and i have to create a feature from server side (i.e. from ArcGIS Javascript API). Since the data is in file gdb, I can't create feature service. So i wrote a python script which is working from ArcGIS Desktop (version 10.2.1) and published the output result as geoprocessing service to the GIS Server (version 10.5).

GP result from ArcCatalog

Fig 1: Showing results for successfully execution of script from ArcCatalog

While trying to run the GP service from JavaScript API (i.e. from WAB custom widget) , I am getting this error : (Access denied [eNOC] )

eNOC is feature class, where feature need to be created. Please find below image for the error:

ErrorGP result

The FGDB has been registered in the server and feature class included in the map service.

Also attached create feature python script.

Anyone can help me out ??


Shaikh Rizuan

0 Kudos
1 Reply
New Contributor III

Hi Robert...  any comments or suggestions on the above issue.. 

0 Kudos