Working through this tutorial: EMA Consumer - Posting data to TR Contribution Channel (C/C++) and getting an error when posting data. The spec I'm working from specifies two fids: BID (Fid 393) and Date (Fid 875) and as a test I want to send two hard-coded values, 4.26 and 10/31/2019. Here's how the payload is created:
.payload(FieldList()
.addReal(393, 426, OmmReal::ExponentNeg2Enum)
.addDate(875, 2019, 10, 31)
.complete()))
This results in:
AckMsg
streamId="5"
domain="MarketPrice Domain"
ackId="1"
nackCode="DeniedBySource"
text="Invalid value (fixed area)"
AckMsgEnd
What does "Invalid value (fixed area)" mean? Is there a problem with one of the fields? Are there fields missing? Any ideas?