The DCAT feed for our Open Data site returns urls which currently throw a 404 error. I've looked at a few sites' DCAT data links and they're also throwing a 404 error. Our site is https://data-transpower.opendata.arcgis.com/ and the DCAT feed lists license urls like http://data-transpower.opendata.arcgis.com/datasets/0e8f361371914a6f95133f58d34ffcb9_0/license.json which are throwing a 404 error. On the DCAT Feed preview page (see attachment) the links point to http://opendata.arcgis.com/... which works e.g. https://opendata.arcgis.com/datasets/0e8f361371914a6f95133f58d34ffcb9_0/license.json
This is a known bug. I submitted the bug report back in August!
Perhaps you could escalate this bug with Esri Support to help with expediting a fix.
Esri has responded to the bug report:
ArcGIS Hub does not support DCAT for private sites. As user report that this is new behavior, perhaps a bug was recently fixed in which, Hub previously exposed the …/data.json endpoint for private sites when it should not have been doing that in the first place. Also, looking at the DCAT configuration for the public site referred to in the bug report, the email address points to a field that does not exist (in the metadata for the item). If the user wants that to be valid, ensure the metadata for the item actually contains that field. We would be willing to work with user to see what is exactly going on in their particular configuration or scenario.
I have no idea what the technician is talking about. Any ideas?
Not sure where the wires got crossed, but the bug you link has to do with formatting changes in the data.json site when shared publicly and I'm not seeing anything about license.json in the ticket. That said, we're seeing that license.json endpoints are 404ing for all sites and are currently working on a fix. Sorry for the confusion on this one.
As far as I know there's no bug number for the license.json issue I raised as my case (#02450125) was also attached to BUG-000124770. Based on the provided additional info for BUG-000124770 I contacted Graham Hudgins with the following info:
We’ve got an ArcGIS Hub site https://data-transpower.opendata.arcgis.com/ that has a DCAT feed https://data-transpower.opendata.arcgis.com/data.json which feeds our national Government data site https://catalogue.data.govt.nz/dataset .
Unfortunately the DCAT feed has a couple of problems with it:
- Some of the feed items don’t work e.g. our feed contains the following ‘license’ link which throws a 404 error http://data-transpower.opendata.arcgis.com/datasets/e507953ab8934fc3a115b2e79226cbd6_0/license.json
If I change the url to remove ‘data-transpower’ from the start of it i.e. http://opendata.arcgis.com/datasets/e507953ab8934fc3a115b2e79226cbd6_0/license.json it works and the details are correct
- All links on the data.json feed (aside from the service URLs) are http instead of https. Our site has 'Enforce https' enabled in case that makes a difference.
The first issue was logged as a case (#02450125) under BUG-000124770 . This bug report has been updated recently (basically closed) but I don’t think our case is actually relevant to that bug (you might be able to advise better on whether it is or is not related?). Our site is public and the DCAT is still an issue. The https issue is under BUG-000116376 . We’ve got an attached case with that bug too, case #02455988.
Am hoping between Patrick and Graham it'll get sorted
Hi … has this been resolved now?
I have a similar issue with HUB
my test HUB item
Bedrock Geology 1:100,000 Ireland ITM Feature Service and this returns a 404 for the license.json. Without this I cannot get CKAN (externally) to harvest with a star rating since it cannot find the licencing reference.
Any ideas please .. I'm losing direction with this now I have tried so many things.