Request out of receiving window
nikkhil31 opened this issue · 6 comments
nikkhil31 commented
Hi,
I'm trying to fetch account info via this api {{wazirx_api_domain}}/sapi/v1/account?recvWindow=×tamp={{current_time}}&signature={{signature}}
but, I got this response,
{
"code": 2098,
"message": "Request out of receiving window."
}
Is there anything that I'm missing?
yuvan11 commented
Hi @nikkhil31 , What is your limit that you have set for recWindow?
nikkhil31 commented
I'm passing 10000 as a recvWindow.
Sometimes it works fine but sometimes it doesn't.
yuvan11 commented
Setting 10000
as a recvWindow won't be a issue. The error might occur because the timestamp which is passing get expired. Make sure, you are only passing a current timestamp for each of your request & also for signature generation.
yuvan11 commented
You're welcome @nikkhil31 . Keep up the good work!