Closed vjrj closed 1 month ago
This looks like a mismatch between the EventType.json
vocabulary and the version of the vocabulary-lookup
library. There has been changes in that recently and they are still not released. It should work with the latest vocabulary-lookup
version(1.0.10-SNAPSHOT). But I wonder what that EventType.json
file contains since it shouldn't contain any tag.
Thanks for the description. We use this one:
curl -s -o - https://api.gbif-uat.org/v1/vocabularies/EventType/export | grep -s tags | grep dep
"tags" : [ "deprecated" ]
"tags" : [ "deprecated" ]
Ah ok, that explains it. It's because I recently deployed to UAT a version of the vocabulary api that also exports the tags (it's not in production yet) and because of that you need to use the latest version of the vocabulary-lookup
as I mentioned above.
I'm getting this error injecting a dataset:
I solved it, editing the recently updated
EventType.json
vocabulary and removing thedeprecated
fromtags
:Probably is better to use the deprecated field.
I'm using a pipelines snapshot version from 19th January (the same as ALA was using).