Create order not all sent parameter were read; code -1104

Im trying to create order

And received error
code: -1104,
msg: “Not all sent parameters were read; read ‘8’ parameter(s) but was sent ‘9’.”

Whats wrong?

I’m having the same issue.

I’m using code directly from the github docs


Invoke-WebRequest -Uri $URLOrder -H $header -Method Get;

My called URL



"code":-1101,"msg":"Too many parameters; expected '6' and received '9'."

Can you help??

Re-reading @Simple_Development
I changed my command to

$ret = Invoke-WebRequest -Uri $URLOrder -H $header -Method Post;

The parameters in the request looks good, do you have another parameter sent in the body?

Hey @Simple_Development. Could you resolve your problem?
I created this order and got the same error:


Hi, yes i resolved problem. I did send POST request and pass params in request body. Works fine. But query params doesnt work yet. Support cannot help me.

For POST, PUT, and DELETE endpoints, the parameters may be sent as a query string or in the request body with content type application/x-www-form-urlencoded. You may mix parameters between both the query string and request body if you wish to do so.

created is not required.

@Simple_Development are you sure it’s resolved? I get this same error when sending the following parameter string as body of a post request:


I have tried to reduce the commands to the required ones only, but no luck, I always get the error “Not all sent parameters were read; read ‘9’ parameter(s) but was sent ‘10’.” (replace 9 and 10 by n and n+1, depending on the number of parameters). What am I doing wrong? I have set the header Content-Type to application/x-www-form-urlencoded, API key is correct, checked all that more than once. The Rest API works for other commands, just /api/v3/order and /api/v3/order/test throw this error message. I would really like to know how to trade via API…

@docmanni, you’re sending timeStamp instead of timestamp. Plus, no need to send timeInForce for MARKET order.

1 Like

@aisling what an excellent find!!! Stupid me! Thank you so much, my hair will be eternally thankful that you prevented it from turning grey more than necessary. :slight_smile:

Now I’m fighting a “LOT_SIZE” error when I want to sell all LSK in my account, but I hope that I’ll be able to solve that…

1 Like

I am sending an OCO order
and Iget “Not all sent parameters were read; read ‘9’ parameter(s) but was sent ‘10’.”}
What is wrong here?