Android SDK: request failure with http statusCode:401
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
we are using the Paypal Android Sdk in our App. A week ago it suddenly stopped working. We couldnt figure out the problem and we didnt change any Code, before it stopped working.
Here ist the Error Message we get:
E/paypal.sdk: request failure with http statusCode:401,exception:
E/paypal.sdk: Exception parsing server response
org.json.JSONException: End of input at character 0 of
at org.json.JSONTokener.syntaxError(JSONTokener.java:450)
at org.json.JSONTokener.nextValue(JSONTokener.java:97)
at com.paypal.android.sdk.cw.m(Unknown Source)
at com.paypal.android.sdk.fg.d(Unknown Source)
at com.paypal.android.sdk.ci.a(Unknown Source)
at com.paypal.android.sdk.cm.a(Unknown Source)
at com.paypal.android.sdk.cq.onResponse(Unknown Source)
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:153)
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
E/paypal.sdk: request failed with server response:
E/paypal.sdk: INTERNAL_SERVER_ERROR
On the github Page it says, the Sdk is supporting TLS1.2, so i guess this shouldnt be the Problem.
I hope anyone can help. Thanks in Advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Seems like i posted in the wrong section of the forum.
This Error is happening in production Mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- SetExpressCheckout 10003 error with ITEMCATEGORY=Digital in NVP/SOAP APIs
- IPN works in sandbox but not live in Sandbox Environment
- User is asked for shipping address when creating a credit card order in REST APIs
- Why have other paymentID in REST APIs
- When I do PayPal capture Order, I keep on getting Invalid Request Connection in REST APIs