I have a keyword taxonomy that I'm retrieving from the Broker DB, and the keywords have a metadata schema that includes a link to another keyword.
When I use (pseudocode):
taxonomy = taxonomyFactory.GetTaxonomyKeywords([taxonomyUri] ...)
taxonomy.KeywordChildren.Cast<Keyword>().Select(c => c.KeywordMeta.GetValue("[keywordFieldName]")
I end up with a TCM ID for each keyword's [keywordFieldName] that looks like: "tcm:0-87-1024" - if I check that TCM ID I get a tcm:Error:
Unable to read Keyword
The item tcm:0-87-1024 does not exist.
If I swap the '0' for a '9' everything works fine.