404 Not Found on Sells Endpoint
astrohart opened this issue · comments
Hi,
I am getting
Call failed with status code 404 (Not Found): POST https://api.coinbase.com/v2/accounts/sells
from the server. I run the following code (assume the params have been initialized correctly):
var sellTask = _client.Sells.PlaceSellOrderAsync(e.AccountId,
placeSell, CancellationToken.None);
sellTask.Wait();
var sell = sellTask.Result;
I think Coinbase may have updated their REST API syntax and the code in this library has not been updated yet. The docs say that the endpoint is:
POST https://api.coinbase.com/v2/accounts/**:account_id**/sells
I have a hunch that the code is not passing the account id.
Nevermind. I feel sheepish. Baaaaaa
Did not initialize the account id LOL
Hm. Might be a good idea to have a null or empty string check inside PlaceSellOrderAsync
.