I’m trying to execute an BUY order but I’m getting (code=-2014): API-key format invalid.
I'm sharing the url generated from by node script: https://api.binance.com/api/v3/order?symbol=BTCBUSD&side=BUY&type=MARKET&quantity=301.95953624×tamp=1663246239028&recvWindow=60000&signature=dd86300966bf75075f753daa87c5ebdaff9dbff0f14a93dde790124bda07149a
The strange thing is, previously, I did a request to get all my account’s balances. That request was successfully so I don’t understand why I’m getting the error just making an order and I didn’t get same error when getting my account info if both requests needs my API info.
Here I'm sharing the url generated to get my balances from my account: https://api.binance.com/api/v3/account?timestamp=1663246713538&recvWindow=60000&signature=51a7b5c50266283a1f9bccc10ecc1ca3f6893b8f7cc241955aabf135525e24db
The X-MBX-APIKEY in both requests is: mH4QYak...Cn1YE5