PROBLEM

Unable to add a ZIP file containing a file geodatabase or shapefile in ArcGIS Online

Last Published: April 12, 2024

Description

In ArcGIS Online, attempting to add a ZIP file containing a file geodatabase or shapefile fails, and the following error message is returned:

Error:
Invalid <File type>
The uploaded file does not contain a <File type>.
The error message is returned when adding a shapefile in ArcGIS Online

Cause

  • The file type selected in the ‘New item’ window is not the same as the file type contained in the ZIP file.
  • The shapefile in the ZIP file does not contain the .shp, .shx, .dbf, or .prj file extension.
  • The ZIP file does not contain a file geodatabase or shapefile. For example, there is another ZIP file within the ZIP file.

Solution or Workaround

Ensure the correct file type is selected

In ArcGIS Online, select the correct file type from the File type drop-down list in the New item window when adding the ZIP file as an item. For example, select File geodatabase if the ZIP file contains a file geodatabase. Refer to ArcGIS Online: Items in ArcGIS Online for more information.

The 'New item' window is to be configured.

Ensure the correct extensions are included

Ensure the shapefile in the ZIP file contains all the file extensions that comprise the shapefile; the .shp, .shx, .dbf, and .prj file extensions.

List of file extensions in a shapefile folder.

Ensure the ZIP file contains a file geodatabase or shapefile

Ensure the ZIP file contains the correct file geodatabase or shapefile, and no other file extension in the ZIP file. Zip the file geodatabase or shapefile directly without placing it in a folder and zipping the folder again.

Article ID: 000032345

Software:
  • ArcGIS Online

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options