An error occurred fetching data

Last Published: April 25, 2020

Error Message

In ArcGIS Open Data, viewing the table of a dataset from the Table tab returns the following error:

An error occurred fetching data.
 Screen shot of error message
This error is known to occur in legacy Open Data sites. Migrate to a more recent version, such as ArcGIS Open Data 2.0 or later.


In some instances, the map administrator(s) of an ArcGIS Open Data site may opt to remove the standard map displayed on the site's page when customizing the layout of the site.

This error occurs when the map on the Open Data site's page is disabled using the following code in the Open Data site's cascading style sheet (CSS):

    display: none;
When the map bar region is hidden, fetching the records from the table results in the error message. The error does not affect the accuracy of the data returned in the table but is misleading to users attempting to access the data.

Solution or Workaround

If removing the map in the Open Data site is absolutely necessary, the error can be prevented by reducing the size of the map bar region instead of completely disabling the map. To do so, add the following code to the CSS:
    height: 1px;
    width: 1px;
The code above makes the map invisible, but it is not completely hidden. Therefore, other layout elements, such as the map locator and controls, within the map bar region must also be hidden. Add the following codes to hide elements within the map:
    visibility: hidden;
    visibility: hidden;

Article ID:000014134

  • ArcGIS Online

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic