question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot obtain braintreee configuration from drop in

See original GitHub issue

General information

  • SDK/Library version: api 2.5.4, drop-in 3.0.8
  • Environment: Production
  • Android Version and Device: Any

Issue description

Some clients cannot obtain configuration (using drop in ui). When deleted from braintree console the same clients that could obtain it can still obtain it (two people on our dev team), those who couldn’t still can’t (one tema member, one customer and supposedly 40 other customers so far).

Error while obtaining payment information. 
com.braintreepayments.api.exceptions.ConfigurationException: Request for configuration has failed: <html><body><h1>400 Bad request</h1>
Your browser sent an invalid request.
</body></html>

. Future requests will retry up to 3 times
    at com.braintreepayments.api.BraintreeFragment$10.onResponse(BraintreeFragment.java:647)
    at com.braintreepayments.api.BraintreeFragment$10.onResponse(BraintreeFragment.java:643)
    at com.braintreepayments.api.ConfigurationManager$1.failure(ConfigurationManager.java:78)
    at com.braintreepayments.api.internal.HttpClient$4.run(HttpClient.java:299)
    at android.os.Handler.handleCallback(Handler.java:743)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:150)
    at android.app.ActivityThread.main(ActivityThread.java:5621)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:794)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:684)
 Caused by: com.braintreepayments.api.exceptions.UnexpectedException: <html><body><h1>400 Bad request</h1>
Your browser sent an invalid request.
</body></html>


    at com.braintreepayments.api.internal.HttpClient.parseResponse(HttpClient.java:274)
    at com.braintreepayments.api.internal.BraintreeHttpClient.parseResponse(BraintreeHttpClient.java:138)
    at com.braintreepayments.api.internal.HttpClient$1.run(HttpClient.java:155)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    at java.lang.Thread.run(Thread.java:833)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
lkorthcommented, Aug 1, 2017

We’re working on several changes to the service that handles these requests so it’s probably best to wait until that’s done before testing it further with the accept header.

0reactions
crookedneighborcommented, Jan 8, 2018

Looks like this has been resolved, so I’m going to close it now. Feel free to comment here if that is not the case.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Setup and Integration | JavaScript - PayPal Developer
To get started, you will need client authorization, a container where Drop-in will appear, and a button. When loaded, the UI will appear...
Read more >
braintree-web-drop-in - Documentation
Specify creation options as data attributes in your script tag, as shown in the examples below. The following configuration properties may be set:...
Read more >
Braintree Drop-In UI does not show CVV field - Stack Overflow
go to Settings -> Processing -> CVV, enable CVV verification rules, and renew the client token. In this way the CVV field will...
Read more >
Braintree: Contact Us
Submit a request for help with your Braintree account, integration, reporting, transactions, or other questions.
Read more >
Validation Errors | All | Node.js - Braintree
Applies when AVS rules are configured to require postal code. ... You'll get this error if we cannot find a master merchant account...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found