1022: Signature for this request is not valid. error

Hello everyone, please tell me how can I solve the error “-1022: Signature for this request is not valid.” I tried to increase recvWindow and checked api key and secret key but everything is fine. The error disappeared when I switched to testnet. I use the binance-connector python library, the problem appears when placing an order.

Here is a todo list for resolving this issue.

Btw which library are you using?