-1

I have a problem with the Binance API. I use HTTP request from Integromat, but I always get the following error message:

"code": -1022, "msg": "Signature for this request is not valid."

URL I use: https://api.binance.com/api/v3/account

I created the signature with HMAC SHA256 and verified it via this website: https://www.freeformatter.com/hmac-generator.html#ad-output

I used this example (https://dev.binance.vision/t/faq-signature-for-this-request-is-not-valid/176) and compared the output code, it matches exactly, so mine should be correct too.

I requested the timestamp from Binance via HTTP request and added +1000 milli seconds.

I don't understand why I still get this error message although the SHA256 hash is correct.

Does anyone have any idea? Attached are a image from integromat.Integromat Picture

2 Answers 2

0

Your error is that you forgot to include the &recvWindow=5000 in the SHA256 operation so the signature isn't correct.

correct signature parameter

0

I finally made this work :) in integromat you calc the sha correct but the req should be made in url otherwise the output is not sha hmac url url//../v3/account?timestamp={{2.timestamp}}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.