Closed caronniwaston closed 1 month ago
Hey, If you are experiencing an issue with the Java futures connector, please consider opening a GitHub issue in the relevant repository.
Additionally, it looks like your request references a symbol (BTCUSD) that doesn’t exist on UM Futures. To see a list of all available symbols, use this endpoint: GET /fapi/v1/exchangeInfo - Node Example File
Lastly, your issue might be related to your API keys. Please refer to this article to troubleshoot: https://dev.binance.vision/t/faq-signature-for-this-request-is-not-valid/176
Issue subject
code":-1022,"msg":"Signature for this request is not valid." when connecting to TestNet
Expected behaviour
Suppose this is the official Java API, and the samples should work using the API key and secret got from testnet - https://testnet.binancefuture.com/en/futures/BTCUSD
Actual behaviour
The program I ran is src/test/java/examples/um_futures/account/NewOrder.java, the error is examples.cm_futures.account.NewOrder - fullErrMessage: {"code":-1022,"msg":"Signature for this request is not valid."}. Please help check why this official API failed.
Steps to reproduce
Environment
Release Release v0.1.5
MacOS + VSCode