Skip to content

balanceData error: Please make sure your system time is synchronized, or pass the useServerTime option. #39

@charlesastwood

Description

@charlesastwood

Trying to use this in Symfony 4. Works perfectly through a controller and displaying results on a page. However if I try to use the balances in a command when running the cli command I get:

signedRequest error: {"code":-1022,"msg":"Signature for this request is not valid."}
balanceData error: Please make sure your system time is synchronized, or pass the useServerTime option.

Saw this ticket:
#35

I think I need to use useServerTime but it isn't implemented yet?

I echoed out the $endpoint from the call and it looks like (signature modified for obscurification):

https://api.binance.com/api/v3/account?timestamp=1516900612521&signature=df5a4338fa3421f8ff79afbdbe3df1cb8c87a288512c9e648f6260ee75114446

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions