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

Request Money is not working #57

Open
cizu64 opened this issue Jul 25, 2019 · 4 comments
Open

Request Money is not working #57

cizu64 opened this issue Jul 25, 2019 · 4 comments
Labels

Comments

@cizu64
Copy link

cizu64 commented Jul 25, 2019

The request money is not working. I tried this:

> var accounts = await client.Transactions.RequestMoneyAsync(accountId, new RequestMoney
>             {
>                 To = email,
>                 Type = "request",
>                 Amount = amount,
>                 Currency = coinType,
>                 Description = description
>             });
> var result = coinBase.RequestPayment("myaccountid", "test@gmail.com", 0.01, "BTC",null).Result;

It throwing an exception:

Unhandled Exception: System.AggregateException: One or more errors occurred. ---> Flurl.Http.FlurlHttpException: Call failed with status code 400 (Bad Request): POST https://api.coinbase.com/v2/accounts/******/transactions
at Flurl.Http.FlurlRequest.d__23.MoveNext()

@bchavez
Copy link
Owner

bchavez commented Jul 25, 2019

Hi Charles,

You'll have to find out why.

To do that:

  • Start Fiddler.
  • Call the EnableFiddlerDebugProxy method to setup Fiddler debugging in your CoinbaseClient.
  • Run the call again and inspect the Fiddler output for the request/response and see why it failed.

@bchavez
Copy link
Owner

bchavez commented Sep 5, 2019

Hey Charles,

I think this is a bug in the Coinbase REST API on Coinbase's Servers.

Here's the currently tracked issue: coinbase/coinbase-ios-sdk#54

Thanks,
Brian

@bchavez bchavez reopened this Sep 5, 2019
@bchavez bchavez added the bug label Sep 5, 2019
@Mike-E-angelo
Copy link

FWIW this is being tracked here now officially/unofficially:
https://forums.coinbasecloud.dev/t/https-api-coinbase-com-v2-accounts-account-id-transactions-it-looks-like-we-encountered-a-problem-sorry-for-the-trouble/867

Also worth noting the new dev forums are way more active/engaging than the old GitHub repositories.

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

No branches or pull requests

3 participants