Select to view content in your preferred language

API Error Open Data Download

18425
46
Jump to solution
06-09-2021 11:01 AM
Tony_J_Van_Der_Wielen
Occasional Contributor

We started seeing and API error in the download section of our Open Data page. It looks like there are no reported issues on Esri's end https://status.arcgis.com/.

apierror.jpg

Has anyone seen this? Or do you know how to fix it? This is happening with all our content.

Thank you!

Tony

 

Tags (1)
46 Replies
ThomasHervey1
Esri Alum

Hello again,

I apologize for the inconvenience. We have identified the issue and we're aiming to release a hotfix as soon as possible. Thank you for suggesting a work-around @John_Spence .

For future reference, ArcGIS Hub has a service-level status page found at  https://hubstatus.arcgis.com/

0 Kudos
ThomasHervey1
Esri Alum

Hello,

I want to give an update on the status of this fix.
We have found a solution but we need time to ensure that automated and manual testing is comprehensive and that no other gallery cards or header links regress. As a result, we will not be able to release the fix today, but we are aiming to release as soon as possible.

When a fix has been released and verified on production, we will update hubstatus.arcgis.com

0 Kudos
ThomasHervey1
Esri Alum

Hello
We have just released a follow-up fix. Please check to see if you're still seeing an API Error on your downloads when navigating to content via a header link or a gallery card.

0 Kudos
JosephBisig
Emerging Contributor

We started noticing this on three of our recently published feature services. This is what we see on our Historic Election Precincts 2004. 

JosephBisig_0-1635977708122.png

 

We are seeing these API errors occur in two other feature classes as well - 

https://gisdata-piercecowa.opendata.arcgis.com/datasets/pierce-county-council-districts/explore

https://gisdata-piercecowa.opendata.arcgis.com/datasets/historic-election-precincts-1992/explore

 

Has this issue popped up again for anyone else?

Thanks,

Joey

 

 

0 Kudos
ThomasHervey1
Esri Alum

Hi @JosephBisig 
We understand that the "API Error" is generic and can be confusing. Have you enabled the "Local Projections" setting on the Hub site? Hub needs a numeric SRID and will throw an error when trying to query metadata without one. For example, on this item on Hub https://gisdata-piercecowa.opendata.arcgis.com/datasets/pierce-county-council-districts/explore the Hub API returns an error when trying to get metadata. On that item's service

the Spatial Reference is

      PROJCS["NAD_1983_HARN_StatePlane_Washington_South_FIPS_4602_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",45.83333333333334],PARAMETER["Standard_Parallel_2",47.33333333333334],PARAMETER["Latitude_Of_Origin",45.33333333333334],UNIT["Foot_US",0.3048006096012192]],VERTCS["NAVD_1988",VDATUM["North_American_Vertical_Datum_1988"],PARAMETER["Vertical_Shift",0.0],PARAMETER["Direction",1.0],UNIT["Foot_US",0.3048006096012192]]

 

Screen Shot 2021-11-03 at 6.48.59 PM.png

I believe that you'll either need to make an adjustment to the service's spatial reference or disable local projections, which will serve results in EPSG 4326.

JosephBisig
Emerging Contributor

Hi Thomas!

These items now work on our Hub site. It did look like a projection issue that was solved by reloading the data into our map projects and republishing. Always appreciate the help Thomas!

Joey

AnibalMmartinez
Frequent Contributor

Hola, tengo el mismo error en ARCGIS ENTERPRISE 10.9. con un servicio FeatureAccess: Enabed y compartido como publico ¿Alguna idea?

Saludos,

Anibal

0 Kudos
valenj88
Regular Contributor

From the looks of this, it seems like having standalone tables without spatial component aren't supported for hub download?

0 Kudos
DianaKalil
Esri Contributor

I captured Web traffic with the URLs of the open data-Hub and it took me to: Resource was not found, and it was showing a 404 error.
Based on previous research I verified the item ID in ArcGIS Online and Spatial Reference, and it was 32145, so Spatial reference was not the issue.
I reviewed the REST services for other layers in the same and they worked for downloading. I suggested republishing the dataset since apparently there is no gap in the Spatial Reference or Metadata, and also verifying the export data settings.

0 Kudos
pjdohertygis
Regular Contributor

I am also hitting this issue on personal use account (which means I cannot call Esri Support). 

@ThomasHervey1  I tried the following with no luck...

1) Recreated  the gallery

2) Update the Hub site settings to allow for local projection

Here is my site if you want to test it out https://data-pjdohertymaps.opendata.arcgis.com/

Here is the dataset I am trying to make available via Open Data 

pjdohertygis_0-1651423155202.png

 

0 Kudos