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

Open
artemiusgreat opened this issue Mar 20, 2024 · 0 comments
Open

Coinbase is not authenticating, at least in sandbox #832

artemiusgreat opened this issue Mar 20, 2024 · 0 comments

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?

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

No branches or pull requests

1 participant