poloniex-api-node icon indicating copy to clipboard operation
poloniex-api-node copied to clipboard

Poloniex error 403 Security Check

Open tyndallm opened this issue 10 years ago • 6 comments

Hey, I keep getting a 403 error which returns the security check screen. Is there some way to get around this? Have you encountered this when using your wrapper?

tyndallm avatar Oct 17 '16 22:10 tyndallm

The error is returned directly by Poloniex web server. I haven't been able to reproduce it. Can you provide more details (e.g. which API method you are using, do you get it for every single API call or only sporadically, ...)?

dutu avatar Oct 18 '16 09:10 dutu

I will close this issue since the error is returned from Poloniex web server and there is no additional information to investigate more. If the issue comes back again, please provide more detailed info: under what condition is the error received, it for every single API call or only sporadically, does it occur for all methods or not, etc...

dutu avatar Oct 25 '16 14:10 dutu

Had this error as well. It is user error; though it could be reduced by adding some parameter checking.

When a user sends in a request that requires an additional parameter, for instance returnCompleteBalances(cb), instead of returnCompleteBalances('all',cb), the error is returned as 403 Forbidden, invalid key/secret.

creativecuriosity avatar Jul 07 '17 21:07 creativecuriosity

fixed in version 1.3.1

dutu avatar Jul 11 '17 10:07 dutu

I'm getting this error with v. 1.7.0 when trying to call:

poloniex.returnCompleteBalances('all', function (err, data) {
})

Do I have the parameters wrong?

I set up the poloniex object using:

poloniex = new Poloniex(credentials.key, credentials.secret, {
        nonce: function () {
          new Date().getTime()
        }
      })

It works when I do: poloniex = new Poloniex(credentials.key, credentials.secret)

JBaczuk avatar Jan 11 '18 23:01 JBaczuk

@JBaczuk your custom nonce function should return the nonce value return new Date().getTime()

dutu avatar Jan 12 '18 08:01 dutu