python – Binance API futures not working >>> change_leverage & change_margin_type

problem with Binance API in client.futures_change_margin_type and client.futures_change_leverage

from binance.client import Client

This line is ok

    futures_recent_trades = client.futures_recent_trades(symbol='BTCUSDT')
    print(futures_recent_trades)

But the following doesn’t

    change_margin_type = client.futures_change_margin_type(symbol='BTCUSDT', marginType='ISOLATED')
    print(change_margin_type)

    change_leverage = futures_change_leverage = client.futures_change_leverage(symbol='BTCUSDT', leverage=7)
    print(change_leverage)

How can i solve this problem?

Thanks for your answer.