BTCMarkets / API

API
119 stars 30 forks source link

Private methods issue in Javascript #72

Open kalyan90 opened 6 years ago

kalyan90 commented 6 years ago

I cloned sample node.js api. public methods works fine, private methods gives me following error:

Error An error occured. Please contact [email protected]

gave api key and secret same as shown in btc website for my login.

meeeee12 commented 6 years ago

Hi kalyan90,

I have the same issue when I use a GET route eg: '/account/balance'. However I get a different (captcha) error when I use POST route eg. '/order/history' . How about your POST routes do they work?

These problems seem to be a cloudflare issue indicating that your ip address has been sending spam or otherwise is tainted and put on the naughty list. I have tried with 3 different connection, but they all do the same thing, so I don't know.

I asked for support on this a week ago (on this very page), I am still waiting for a response.

If you manage to get past this can you please tell me how.

Thanks

kalyan90 commented 6 years ago

Hi @meeeee12 getting 500 Internal error for POST routes

justin-ngin commented 6 years ago

Hi @kalyan90 ,

When using the sample node.js and making a GET request to /account/balance, that 500 code seems to be returned most frequently when the keys you are providing to the client are incorrect. Have you already verified your keys, specifically the public key, and is the issue persisting?

Thanks, Justin