DCAT feed URLs return 404

1428
16
12-01-2019 01:50 PM
mpc
by
Occasional Contributor

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 

 

Tags (2)
16 Replies
NickShannon2
New Contributor III

This is a known bug.  I submitted the bug report back in August! 

BUG-000124770: The DCAT attributes for a ArcGIS Hub site's data.jso.. 

Perhaps you could escalate this bug with Esri Support to help with expediting a fix.  

mpc
by
Occasional Contributor

Thanks Nick. I've logged it with our local Esri vendor, who have raised it with Esri. Hopefully it gets some traction!

NickShannon2
New Contributor III

Esri has responded to the bug report:

BUG-000124770: The DCAT attributes for a ArcGIS Hub site's data.jso.. 

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.

Private sites?  

I have no idea what the technician is talking about. Any ideas? 

0 Kudos
PatrickHammons1
Esri Contributor

Hi Nick,

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.

Best,

Patrick

0 Kudos
NickShannon2
New Contributor III

Thanks Patrick for clearing that up. 

Bug-000124770 was marked as 'related' in the My Esri support ticket. 

Is this there a Bug case number for the license.json issue?  

0 Kudos
mpc
by
Occasional Contributor

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:

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 

0 Kudos
GrahamHudgins
Esri Regular Contributor

we'll take a look!

0 Kudos
jonathanharte
New Contributor III

Hi … has this been resolved now?

I have a similar issue with HUB 

https://www.arcgis.com/home/item.html?id=e8505fbd61e642a088df2eb58deccd7d  - My AGOL item 

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.

https://gsidcat-dcenr.hub.arcgis.com/datasets/e8505fbd61e642a088df2eb58deccd7d_0/license.json

Any ideas please .. I'm losing direction with this now I have tried so many things.

Regards

Paulg

0 Kudos
mpc
by
Occasional Contributor

Unfortunately not, it's still to be fixed.

If you go to Configure DCAT and click the Preview tab, what's the license link it shows there?

John Plunkett

0 Kudos