<p>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}}</p>

CC BY-SA 4.0
2021-08-15T07:51:29.037Z
2021-08-15T07:51:29.037Z
rene wiggerman
<p>Your error is that you forgot to include the <code>&amp;recvWindow=5000</code> in the SHA256 operation so the signature isn't correct.</p>
<p><a href="https://i.sstatic.net/sN6MX.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/sN6MX.png" alt="correct signature parameter" /></a></p>

CC BY-SA 4.0
2021-06-18T00:37:29.427Z
2021-06-18T00:37:29.427Z
Grant H
<p>I have a problem with the Binance API. I use HTTP request from Integromat, but I always get the following error message:</p>
<p>&quot;code&quot;: -1022,
&quot;msg&quot;: &quot;Signature for this request is not valid.&quot;</p>
<p>URL I use: <a href="https://api.binance.com/api/v3/account" rel="nofollow noreferrer">https://api.binance.com/api/v3/account</a></p>
<p>I created the signature with HMAC SHA256 and verified it via this website: <a href="https://www.freeformatter.com/hmac-generator.html#ad-output" rel="nofollow noreferrer">https://www.freeformatter.com/hmac-generator.html#ad-output</a></p>
<p>I used this example (<a href="https://dev.binance.vision/t/faq-signature-for-this-request-is-not-valid/176" rel="nofollow noreferrer">https://dev.binance.vision/t/faq-signature-for-this-request-is-not-valid/176</a>) and compared the output code, it matches exactly, so mine should be correct too.</p>
<p>I requested the timestamp from Binance via HTTP request and added +1000 milli seconds.</p>
<p>I don't understand why I still get this error message although the SHA256 hash is correct.</p>
<p>Does anyone have any idea? Attached are a image from integromat.<a href="https://i.sstatic.net/zdjS2.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/zdjS2.png" alt="Integromat Picture" /></a></p>

<api><binance>
Binance API Error Code: "code": -1022, "msg": "Signature for this request is not valid."
sLuCHa
# Binance API Error Code: "code": -1022, "msg": "Signature for this request is not valid."

(Asked by: username_0 on 2021-03-20)

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](https://i.sstatic.net/zdjS2.png)](https://i.sstatic.net/zdjS2.png)

**Tags:** api, binance


---

## 2 answers

### Answer by username_1 on 2021-08-15. Score: 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}}


---

### Answer by username_2 on 2021-06-18. Score: 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](https://i.sstatic.net/sN6MX.png)](https://i.sstatic.net/sN6MX.png)


---

