With the advanced trade api, I’m getting an error with these parameters with the endpoint /api/v3/brokerage/orders:

With the advanced trade api, I’m getting an error with these parameters with the endpoint /api/v3/brokerage/orders:

uuid = str(uuid.uuid1())

{‘client_order_id’: uuid, ‘product_id’: ‘BTC-USDT’, ‘side’: ‘BUY’, ‘order_configuration’: {‘market_market_ioc’: {‘quote_size’: 43524}}}

or even this:

{‘client_order_id’: uuid, ‘product_id’: ‘BTC-USDT’, ‘side’: ‘SELL’, ‘order_configuration’: {‘market_market_ioc’: {‘base_size’: 1}}}

This is the result I’m getting:

{‘error’: ‘INVALID_ARGUMENT’, ‘error_details’: ‘Invalid product_id’, ‘message’: ‘Invalid product_id’}

I can get my balances and there is no issue. But I cannot place any orders.

I checked my API permissions and both create orders and read wallets are checked, and I tried different product IDs and still got the same response. I’m stumped.