Select to view content in your preferred language

API Error Open Data Download

18402
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
KevinDown
Esri Contributor
Thomas,

Thank you for reaching out to me via the ArcGIS Hub Questions thread above. I have since resolved my issue, and it was caused by the Spatial reference used not being a standard WKID. In fact the Spatial reference used was a customized one base on WKID 27700. Because it did not match WKID exactly, Hub could not find the WKID definition required for the API to initialize for the download. When I disabled local reference, the API enabled and +-

0 Kudos
MeghanLeavey
Occasional Contributor

Hi @ThomasHervey1  

Yes, our open data can be found here: https://gis-monmouthnj.opendata.arcgis.com/pages/open-data

Thank you!

0 Kudos
MeghanLeavey
Occasional Contributor

Hi @ThomasHervey1 

We seem to be in better shape - all but one of the layers corrected. I ran through the steps of changing sharing levels and removing and then re-adding to the gallery and the hub page but those steps didn't work. I'm going to wait until the next fix that was mentioned yesterday gets pushed through, but if there is no change by Friday morning, I think we are going to just have to remove it and set up that service again.

0 Kudos
ThomasHervey1
Esri Alum

Thanks for the additional information. Hub should be able to support numeric WKIDs like 27700. However, there may be a bug parsing the WKID that was supplied. We're investigating the issue right now. Can you please give a URL to an example item that is now working?

0 Kudos
ThomasHervey1
Esri Alum

Thanks @MeghanLeavey it looks like there is a routing bug from the gallery card. We're actively working on a fix and hope to release it as soon as possible.

If you need immediate access to downloads you can update the URL and adjust the layer information. For example, the routing resolution for "Building Footprints" will route to https://gis-monmouthnj.opendata.arcgis.com/datasets/fec0b3d813174cdfb766134315120460/explore?layer=0

You'll still see the view working correctly and downloads will work if you adjust by removing the query and adding "_0"
https://gis-monmouthnj.opendata.arcgis.com/datasets/fec0b3d813174cdfb766134315120460_0/explore

 

John_Spence
Frequent Contributor

This issue is also affecting us, but it is not universally an issue on all datasets.  Below is one example.

https://data.bellevuewa.gov/datasets/cobgis::bellevue-permits/explore?layer=0&location=47.589609%2C-...

It is not an issue across the board though.  The issue may be isolated to specific hives such as EYzEZbDhXZjURPbP.

0 Kudos
StanislausCounty
Regular Contributor

Is there an ETA on when this will be fixed? We have quite a few members of the public who are trying to access our open data and are getting this error. I can confirm that the API does work when following @ThomasHervey1  method of adding the _0/explore string to the end of the url.

John_Spence
Frequent Contributor

Glad to see it is not just us.

ThomasHervey1
Esri Alum

We have verified that this is a bug and we are completing QA now. Will release it tomorrow mid-day EST during our normal weekly Hub release. Please stay tuned to the Hub changelog https://hub.arcgis.com/pages/changelog
Apologies again for the inconvenience and thank you for your patience.

John_Spence
Frequent Contributor

Appreciate the response and look forward to seeing the resolution.

0 Kudos