-
Notifications
You must be signed in to change notification settings - Fork 6
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
random 400 error code on login/send-code/
#16
Comments
Are you using allways the international phone code? |
I have exactly same issue, I've checked the endpoints and the second one is failing |
also I tried using my phone number with and without country code but still got the same issue |
Yes, I am using +1XXXXXXXXXX |
Hey! @AaditT @ninoturakura Thank you for the details given, I will work on it, but that seems it wont be as faster as others bugs |
Hey! @AaditT @ninoturakura I have implemented a log system in the server, could you resend the recuest to see the logs saved? |
hey @chemokita13 , will let you know when I face this issue again. |
Hey @chemokita13 thanks for the reply, I've tested this login endpoint from a different country number than mine. Btw I'm from Georgia and any number from here is failing, I have seen similar issue happening in other repos as well, it's not only my country but some of the other country numbers face the same issue as well. when I tried like a french number it gave me session and everything went smooth. maybe this can give you some insight to what can be happening here, also it's not only you, I also tested different respositories all of them have the same issue. |
also what I've noticed when testing those repos is that all of them plus yours as well had the same user client, it seemed to me that you all copied this info from each-other. maybe that's the case that instead of apple user client that you have I need something other? or maybe some API keys that were used in your app does not work on every country's numbers? maybe for my country I need different api key? |
@chemokita13 also can you tell me, how did you get those API keys and stuff? Since when I tried it with MitmProxy it does not work, since the SSL certificate is changed and those googleApi's demand specific SSL certificates. if you could just give me little hint at least on how you got those API keys, I could test it on beReal from my location, and maybe figure out why is it giving me that error of 400. |
I just have taken the api keys decoding bereal apk, if you want u can use it |
@AaditT @ninoturakura I made another way to login instead of that for throwing 400 error, could you try it? |
@chemokita13 I tried it still no luck(( it says OTP not sent, also can you please add those change to this github repo as well? I could not find that in local api docs |
@chemokita13 I also tried same, to decompile APK file at first, but this is what I get about the second api (www.googleapis.com/identitytoolkit/v3/relyingparty/sendVerificationCode):
which is pretty unusable not to mention that I could not detect any API keys needed to communicate with the Google API. |
@chemokita13 I've used apktool for APK decompilation, did you used same tool as well? or maybe something different? |
i am getting random 400 error code on the
login/send-code/
endpoint. sometimes it works with success, sometimes i get this 400 error code.can you please provide some clarity as to why i am getting this error, or possibly fix? thanks!
The text was updated successfully, but these errors were encountered: