Creating asset transfer transaction from SSC

I am trying to transfer some ASA`s to stateful contracts escrow address, and then trying to transfer them by building inner transaction, but i am getting this error “logic eval error: clawback not allowed”

How does your code compare to Smart contract details - Algorand Developer Portal?

Most likely you used the AssetSender field instead of the Sender field. AssetSender is only used for clawback and should not be used in most cases.

yeah i changed it to sender instead of assetsender, it worked, thanks