JKorf / Binance.Net

A C# .netstandard client library for the Binance REST and Websocket Spot and Futures API focusing on clear usage and models
https://jkorf.github.io/Binance.Net/
MIT License
1.04k stars 427 forks source link

SimpleEarn => Signature for this request is not valid. #1359

Open JozefGula opened 6 months ago

JozefGula commented 6 months ago

Hello,

I do not know why, but in the last day or two, this error started to appear: I'm sure that before it didn't happen at all or it didn't happen that often, but now it occurs with every request.

v1/simple-earn/flexible/position -> OK v1/simple-earn/flexible/list -> OK /v1/simple-earn/flexible/redeem -> Signature for this request is not valid. /v1/simple-earn/flexible/subscribe -> Signature for this request is not valid.

Logs: [2024-03-17 04:58:42.283] [Information]: [Req 83] Creating request for https://api.binance.com/sapi/v1/simple-earn/flexible/redeem [2024-03-17 04:58:42.283] [Verbose]: [Req 83] Sending POST signed request to https://api.binance.com/sapi/v1/simple-earn/flexible/redeem with request body 'amount=1%2c07&destAccount=SPOT&productId=SOL001&recvWindow=5000&redeemAll=False&signature=EB8D92754D27180D15905287E6227B61ADB8B10B8D334D8ABE9942C5D6E1A3F6&timestamp=1710647921610' with headers Accept=[application/json], X-MBX-APIKEY=[***] [2024-03-17 04:58:42.535] [Warning]: [Req 83] BadRequest Error received in 251,4414ms: [ServerError] -1022: Signature for this request is not valid.

According to the documentation, I don't see a problem with the parameters.

@JKorf do you have any idea what could be causing this problem?

JKorf commented 6 months ago

Has this started happening with an update of the library or was it working before with the same library version?

JozefGula commented 6 months ago

Hello, It worked before with the same version of the library.