[API-users] org.gbif.api.vocabulary.License.UNSPECIFIED
Nozomi James Ytow
nozomi at biol.tsukuba.ac.jp
Fri Aug 19 09:14:38 CEST 2016
> org.codehaus.jackson.map.JsonMappingException: Can not construct instance of org.gbif.api.vocabulary.License from String value 'unspecified': value not one of declared Enum instance names
> at [Source: http://api.gbif.org/v1/dataset/7ddf754f-d193-4cc9-b351-99906754a03b; line: 1, column: 18567] (through reference chain: org.gbif.api.model.registry.Dataset["license"])
> Because Java Enum is case sensitive, either is necessary to rename the entry to lower case, to change the value to upper case, or provide conversion code in org.gbif.api.vocabulary.License.
Ah! org.gbif.api.jackson.LicenseSerde is provided.
Cheers,
James
More information about the API-users
mailing list