-
Notifications
You must be signed in to change notification settings - Fork 12
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
[retCode] => 10002. invalid request, please check your server timestamp #25
Comments
I didn't find the problem in my tests, is it caused by the inconsistency between your server time and the exchange's server time? What are the details of the error? |
Hi, thanks for you answer. |
Full error response is next:
Appears on $bybit->order()->postCreate() and other which requiers timestamp |
Hi i kept getting this error. Synching my comp time didn't help or helped for short time.
To solve this problem i've modified \vendor\linwj\bybit\src\RequestV5.php
There you will find function called nonce()
It need to be changed to this:
Now i always have server time in my request, so this error never appeared ever again.
P.S. hope this will be fixed in further updates.
The text was updated successfully, but these errors were encountered: