Closed astrohart closed 5 years ago
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.
PlaceSellOrderAsync
Hi, I am getting
from the server. I run the following code (assume the params have been initialized correctly):
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:
I have a hunch that the code is not passing the account id.