-1105 Parameter 'orderId' was empty. Error for Cancel Order endpoint call

I’m trying to cancel an order on Spot Test Network in Postman. I provide all the params required. I tried both options, orderId or origClientOrderId, but I keep getting an -1105 error response for both:

{
    "code": -1105,
    "msg": "Parameter 'orderId' was empty."
}
{
    "code": -1105,
    "msg": "Parameter 'origClientOrderId' was empty."
}

My order:

{
        "symbol": "BTCUSDT",
        "orderId": 3...8,
        "orderListId": -1,
        "clientOrderId": "my_order_id_1",
        "price": "7000.00000000",
        "origQty": "0.01000000",
        "executedQty": "0.01000000",
        "cummulativeQuoteQty": "70.00000000",
        "status": "FILLED",
        "timeInForce": "GTC",
        "type": "LIMIT",
        "side": "BUY",
        "stopPrice": "0.00000000",
        "icebergQty": "0.00000000",
        "time": 1595187196269,
        "updateTime": 1595197730133,
        "isWorking": true,
        "origQuoteOrderQty": "0.00000000"
    },

My request params for canceling the order above:

{
    "symbol": BTCUSDT,

    // I send either orderId or origClientOrderId from the order above
    "orderId": 3...8,
    "origClientOrderId": my_order_id_1,

    "timestamp": {{timestamp}},
    "signature": {{signature}}
}

cURL request:

curl --location --request DELETE 'https://testnet.binance.vision/api/v3/order?symbol=BTCUSDT&origClientOrderId=my_order_id_1&timestamp={TIMESTAMP}&signature={SIGNATURE}' \
--header 'Content-Type: application/json' \
--header 'X-MBX-APIKEY: {YOUR_API_KEY}'

Why? What’s wrong with the request?

This works fine for me, please have a try with our postman collection:


DELETE /api/v3/order?symbol=BNBUSDT&origClientOrderId=my_order_id_1&timestamp=1595291208391&signature=f16657f46aa2b3e0af4582cf7237b9d7907a6  HTTP/1.1

Content-Type: application/json

X-MBX-APIKEY: KfXlwlDZkRCj 

X-HTTP-Method-Override: DELETE

User-Agent: PostmanRuntime/7.26.1

Accept: */*

Cache-Control: no-cache

Postman-Token: fa3166ca-cc2e-4ad8-88de-a38f0d2aaac1

Host: testnet.binance.vision

Accept-Encoding: gzip, deflate, br

Connection: keep-alive

HTTP/1.1 200 OK

Content-Type: application/json;charset=UTF-8

Content-Length: 212

Connection: keep-alive

Date: Tue, 21 Jul 2020 00:26:48 GMT

Server: nginx

x-mbx-uuid: 5990a75d-c2b0-47ca-8987-db 

x-mbx-used-weight: 2

x-mbx-used-weight-1m: 2

content-encoding: gzip

Strict-Transport-Security: max-age=31536000; includeSubdomains

X-Frame-Options: SAMEORIGIN

X-Xss-Protection: 1; mode=block

X-Content-Type-Options: nosniff

Content-Security-Policy: default-src 'self'

X-Content-Security-Policy: default-src 'self'

X-WebKit-CSP: default-src 'self'

Cache-Control: no-cache, no-store, must-revalidate

Pragma: no-cache

Expires: 0

Access-Control-Allow-Origin: *

Access-Control-Allow-Methods: GET

X-Cache: Miss from cloudfront

Via: 1.1 28107c1cb12262c75f4056c7e5bef12f.cloudfront.net (CloudFront)

X-Amz-Cf-Pop: xxxx

X-Amz-Cf-Id: L8sscP4UB 

{"symbol":"BNBUSDT","origClientOrderId":"my_order_id_1","orderId":71,"orderListId":-1,"clientOrderId":"aVE58Wld3lkCOG9mZoMyjr","price":"10.00000000","origQty":"2.00000000","executedQty":"0.00000000","cummulativeQuoteQty":"0.00000000","status":"CANCELED","timeInForce":"GTC","type":"LIMIT","side":"SELL"}

I’m using exactly Binance Postman Collection. And I’m getting “Parameter ‘orderId’ was empty.”.
How is it possible that I can’t delete orders programmatically but you can? Where is the issue? It’s not on my side. I do everything as API requires. But Binance API sends an error.

It just doesn’t work. Somebody has to check Spot Test Network API. Probably for this currency pair BTCUSDT. Because it is not working.

please try to click “Save” first and then click “Send”.

this pair works fine on testnet.