Error in Place Multiple Orders

I have a code:

        $parametrs = [
            
            'batchOrders' => [
                [
                    'symbol' => $_GET['symbol'],
                    'side' => $_GET['side'],
                    'positionSide' => $positionSide,
                    'type' => 'MARKET',
                    'quantity' => 0.005,
                ]
            ]

        ];
        
        $parametrs['batchOrders'] = json_encode($parametrs['batchOrders']);
        
        print_r(api_query($apiUrl . '/fapi/v1/batchOrders', $parametrs, 'post', 1));

and i get an error:
Array ( [0] => Array ( [code] => -1102 [msg] => Mandatory parameter ‘quantity’ was not sent, was empty/null, or malformed. ) )

What wrong?

try appending parameters in the URL and see if it works.

Can you elaborate on your answer? Appending extra parameters or adding them in a different way? I don’t understand what you mean exactly…

I sort of had the same problem working around it.