Moving money from spot to a certain crypto wallet

Hello everyone, I’m facing this issue on Binance while moving USDT from the spot wallet to certain crypto.

APIError(code=-1002): CheckRule: ruleId [1] has no operation privilege.

This is the code:

 client = Client(api_key=PUBLIC, api_secret=SECRET)

  transaction = client.transfer_spot_to_isolated_margin (
  asset='USDT',
  symbol=self.symbol,
  amount=17`
   )

Is there anyone who can help me sort this out? Thanks in advance

Hi. Can you help checking if margin is enabled on API management page?