Android SDK: request failure with http statusCode:401

CluelessCoder
New Community Member

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.

Login to Me Too
2 REPLIES 2

CluelessCoder
New Community Member

Seems like i posted in the wrong section of the forum. 

This Error is happening in production Mode.

Login to Me Too

rPatel2
Contributor
Contributor

I am facing the same issue, is it resolved?

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.