Hello and welcome to the Algorand Community!
On a quick look, seems like this may be related to the question asked here: Optins to TEAL Managed Account
Have you opted the contract account into asset 127494380? Add some code to allow it to opt it in, then issue that opt-in transaction before you make a trade. Without that, the contract won’t be able to receive the asset.