Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

NonSuccessfulResponseCodeException: Bad response: 400 #84

Open
hanunggulmp opened this issue May 4, 2021 · 1 comment
Open

NonSuccessfulResponseCodeException: Bad response: 400 #84

hanunggulmp opened this issue May 4, 2021 · 1 comment

Comments

@hanunggulmp
Copy link

i already run the registration with
accountManager.requestSmsVerificationCode(false, captcha, challenge);
without any problem. the verification code already sent to the phone number that has been included. but when i tried to verify it with code

accountManager.verifyAccountWithCode(verificationCode, store.getSignalingKey(),
               store.getLocalRegistrationId(), false, PIN, unidentifiedAccessKey, true);

and when it executed in my main class. an error occurs like this:

Exception in thread "main" org.whispersystems.signalservice.api.push.exceptions.NonSuccessfulResponseCodeException: Bad response: 400 
	at org.whispersystems.signalservice.internal.push.PushServiceSocket.makeServiceRequest(PushServiceSocket.java:894)
	at org.whispersystems.signalservice.internal.push.PushServiceSocket.makeServiceRequest(PushServiceSocket.java:791)
	at org.whispersystems.signalservice.internal.push.PushServiceSocket.verifyAccountCode(PushServiceSocket.java:223)
	at org.whispersystems.signalservice.api.SignalServiceAccountManager.verifyAccountWithCode(SignalServiceAccountManager.java:203)

any idea?

i'm using jdk 1.8 and signal-service-java version 2.15.3

@corentin59
Copy link

Same problem, have you a fix or a workaround ?

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

No branches or pull requests

2 participants