I use WebAppBuilder 2.22 to develop 3D web apps (esri js API 4.22) with custom widgets for our portal.
I published geoprocessing service to our portal and I need to give it an input file.
I used esri/request to upload the input file to the proper url in order to be used by the geoprocessing service, but the upload failed. I think the upload url is correct -
https://<serverDomain>/arcgis/rest/services/<geoprocessingService>/GPServer/uploads/upload
but I get error 403 (that means that the authentication is OK, but there is no permission)
What should I do?
Help will be greatly appreciated.