binance / binance-api-postman

Postman collection for Binance Public API, including spot, margin, futures, etc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"-1022 Signature for this request is not valid." error on creation of new order

muratozenc opened this issue · comments

Hi,

When I try to create new order from Postman I got "-1022 Signature for this request is not valid." error. I checked the address for the error but it seems there is no problem about my post. My raw URL is below, changed my secret with XXXX

https://api.binance.com/api/v3/order?side=SELL&type=LIMIT&timeInForce=GTC&quantity=0.01&price=9000&newClientOrderId=my_order_id_1&timestamp=1613681901685&signature=XXXX&symbol=FRONTBUSD

help please.

  1. Have a try on other symbol, like BNBUSDT
  2. move symbol=FRONTBUSD to the front of timestamp

Please let us know if that works

None of them worked.

image

Please don't paste api key or secret.

are you sure the api key and secret is correct?

Also move the symbol=BNBUSDT to the top.

Hi,

Yes I am sure key and secret values are correct. I can use other api endpoints, can access my spot wallet etc.

I moved it to the top but nothing changes.

image

I have used this collection with this environment. Imported both to the postman and added the api credentials.

leave

  • timestamp
  • signature

as the last 2 parameters, NOTHING underneath.
signature is the last parameter.

Yes you are right, sorry for the replacements. It seems its working now, but I do not understand what the new error means?

image

I found the answer, thanks @2pd :)