Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coinbase is not authenticating, at least in sandbox #832

Closed
artemiusgreat opened this issue Mar 20, 2024 · 1 comment · Fixed by #857
Closed

Coinbase is not authenticating, at least in sandbox #832

artemiusgreat opened this issue Mar 20, 2024 · 1 comment · Fixed by #857

Comments

@artemiusgreat
Copy link

Trying to get authenticated by Coinbase Advanced API Sandbox.

var exchange = await ExchangeAPI.GetExchangeAPIAsync(ExchangeName.Coinbase);
exchange.LoadAPIKeysUnsecure(ConsumerKey, ConsumerSecret, ConsumerPassword);
exchange.BaseUrlWebSocket = "wss://ws-feed-public.sandbox.exchange.coinbase.com";
exchange.BaseUrl = "https://api-public.sandbox.exchange.coinbase.com";

Getting Invalid passphrase exception when executing some simple request, e.g. get ticker info.

exchange.GetTickerAsync("BTC-USD")

Keys were generated here.
https://public.sandbox.exchange.coinbase.com/apikeys

Considering recent changes in Coinbase, is this initialization still valid or I need to generate signature myself using CryptoUtility and somehow include it as a bearer token in every request?

@vslee
Copy link
Collaborator

vslee commented Nov 23, 2024

@artemiusgreat, are you using Coinbase Exchange (for businesses) or Coinbase Advanced (for individuals)?

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

Successfully merging a pull request may close this issue.

2 participants