Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why ? msg=Signature for this request is not valid #310

Closed
Go36625090 opened this issue Sep 23, 2021 · 2 comments
Closed

Why ? msg=Signature for this request is not valid #310

Go36625090 opened this issue Sep 23, 2021 · 2 comments

Comments

@Go36625090
Copy link

Go36625090 commented Sep 23, 2021

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

code:
`
import (
"context"
"github.com/adshao/go-binance/v2/delivery"
"github.com/adshao/go-binance/v2/futures"
"github.com/hashicorp/go-hclog"
)

client := delivery.NewClient(cfg.Account.Key, cfg.Account.Secret)

client.NewSetServerTimeService().Do(context.Background())

orders, err := client.NewGetOrderService().Do(context.Background())
if err != nil {
logger.Error("list orders failed", "err", err)
return
}
logger.Info("orders", "list", orders)
`

@abrekhov
Copy link

Same issue.

@xyq-c-cpp
Copy link
Collaborator

No response for a long time, close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants