Cannot Short Bracket

 data = {
        "symbol": "TSLA",
        "qty": 1,
        "side": "sell",
        "type": "limit",
        "limit_price": 800,
        "time_in_force": "gtc",
        "order_class": "bracket",
        "take_profit": {
            "limit_price": 790
        },
        "stop_loss": {
            "stop_price": 805
        }
    }

I am trying to enter a short bracket order and keep receiving the error message {'code': 42210000, 'message': 'take_profit.limit_price must be > stop_loss.stop_price'}

Could someone please explain to me what I am doing wrong?