kucoin-futures-python-sdk icon indicating copy to clipboard operation
kucoin-futures-python-sdk copied to clipboard

Exception: 400-{"code":"400002","msg":"Invalid KC-API-TIMESTAMP"}

Open AdrianOM98 opened this issue 2 years ago • 4 comments

imagen

i try make an orden or another operation whith module Trade. help me please.

AdrianOM98 avatar Sep 04 '22 17:09 AdrianOM98

Hey there,

I had a similar issue which is solved easily: For some reason, the computer I was running the program on was not on time.

I've synced the Windows clock and the problem disappeared.

Hope it helps you as well

Gettippi avatar Aug 24 '23 08:08 Gettippi

Hey there,

I had a similar issue which is solved easily: For some reason, the computer I was running the program on was not on time.

I've synced the Windows clock and the problem disappeared.

Hope it helps you as well

I have the same issue occasionally on an Ubuntu VM, even if I sync successfully every 15 seconds.

yfprime avatar Jan 21 '24 20:01 yfprime

Even when using the server time from the /api/v1/timestamp endpoint I encounter this error on almost every level2 snapshot request. The timestamp is well within the 5 seconds interval mentioned here , so there must be something else.

guimauveb avatar Jan 23 '24 18:01 guimauveb

Has anyone found a fix for this?

yfprime avatar Jun 17 '24 19:06 yfprime