It appears that fee_history must receive an array as the third parameter and it's default None value does not work with some json-rpc nodes.