Is it a bug In alpaca?

The documentation clearly states: notional: dollar amount to trade. Cannot work with qty . Can only work for market order types and day for time in force.

However, this json recieves: 422 Unprocessable Entity: [{“code”:40010001,“message”:“qty is required”}]
Please notice the type and time in force:
{
“symbol”: “AAPL”,
“notional”: 350,
“side”:“buy”,
“type”:“market”,
“time_in_force”:“day”
}