Skip to content
This repository has been archived by the owner on Jan 20, 2020. It is now read-only.

Invalid Signature #388

Closed
kevin192291 opened this issue Oct 2, 2019 · 1 comment
Closed

Invalid Signature #388

kevin192291 opened this issue Oct 2, 2019 · 1 comment

Comments

@kevin192291
Copy link

kevin192291 commented Oct 2, 2019

I am getting an invalid signature error. Debugging though it seems that a signature is being created, so, I am not sure why I am getting this. Here is my code from the demo on this github page.

const key = 'and my key';
const secret = 'my correct sec';
const passphrase = 'and and my passph';

const sandboxURI = 'https://api-public.sandbox.pro.coinbase.com';

const authedClient = new CoinbasePro.AuthenticatedClient(
  key,
  secret,
  passphrase,
  sandboxURI,
);
authedClient.getOrders().then(orders => {
    console.log(orders);
}).catch(err => {
    console.log(err);
});

the error is:
Error: HTTP 400 Error: invalid signature

Am I doing something wrong or missing something here?
Thank you!

@drewrothstein
Copy link

Hi, we are closing out PRs + Issues as this project is being archived.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants