OutputModule - Invalid key: [LongExpression]
I’m trying to output some assets via OutputModule API and TableViewConfig.
To get the Attributes, I’m using JSON in the following format:
"NumericAttribute": { "LongExpression": { "name": "Sequence Number" }, "labelId": "00000000-0000-0000-0000-000000000224" }
When I check the logs, it looks like Collibra has a problem with this syntax, at least in case of NumericAttributes:
ERROR c.c.d.e.p.j.l.r.BaseResourceParser - Invalid key: [LongExpression] in JSON object [{"LongExpression":{"name":"Sequence Number"},"labelId":"00000000-0000-0000-0000-000000000224","name":"NumericAttribute9"}]. Query might fail or return unexpected results! [authenticated_id=0b7042b6-8b6b-44e2-a962-e814becac9ed, session_hash=42db14ff9ebbdc8a5a4a70b01321d270, trace_id=b28d72273ed394e2681c48ee5d58069f, trace_flags=01, span_id=826b35eb426cbde6]
Has someone stumbled upon a similar error message?
Pawel Musial
OP3 years ago · EditedPosting questions on user forums does help in mysterious ways
I just realized that ‘LongExpression’ key doesn’t apply to all AttributeType ‘data types’, it applies to StringAttribute exclusively.
NumericAttribute needs ‘NumericValue’ key.
For full reference: