When you call stock_equities_condition_mappings, the returned resp object is improperly unmarshalled. The call actually returns correct json object but because the returned keys are numbers, which causes the line 49 in definitions.py (function _unmarshal_json_object) to set the attribute_name to empty string. The returned object contains only empty string as key and last value which is "Errored".