laptop and a wrench

Bug

ArcGIS Server returns the error message "ERROR 000840: The value is not a Text File" when using DETextFile as the parameter's datatype in publishing geoprocessing service.

Last Published: March 8, 2021 ArcGIS GIS Server
Bug ID Number BUG-000137973
SubmittedMarch 5, 2021
Last ModifiedJune 30, 2025
Applies toArcGIS GIS Server
Version found10.8.1
Operating SystemWindows OS
Operating System Version2019 64 Bit
StatusAs Designed

Additional Information

This behavior is as designed. Although both the DETextFile and DEFile parameter's data types are converted to GPDataFile when a script tool is published as a web tool, ArcGIS Server retains the underlying validation rules of the original parameter type.

Workaround

Use DEFile as the parameter's datatype instead of DETextFile.

Steps to Reproduce

Bug ID: BUG-000137973

Software:

  • ArcGIS GIS Server

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options