🌐 AI搜索 & 代理 主页
Skip to content

Coinbase is not authenticating, at least in sandbox #832

@artemiusgreat

Description

@artemiusgreat

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions