Issue here is a validation problem. The endpoint selections_for_market from the betconnect api will retur a field called price when top_price is True, however the validation expects it to be prices. This is most likely because the default value for top_price is False and this this will return the 'prices' field it is looking for. Therefore we need 2 different validation sets for when selections_for_market is top_price = False and top_price True.
Issue here is a validation problem. The endpoint selections_for_market from the betconnect api will retur a field called
price
whentop_price
isTrue
, however the validation expects it to beprices
. This is most likely because the default value fortop_price
isFalse
and this this will return the 'prices' field it is looking for. Therefore we need 2 different validation sets for when selections_for_market istop_price = False
andtop_price True
.