QuickBlox / quickblox-ios-sdk

QuickBlox iOS SDK for messaging and video calling
https://quickblox.com/developers/IOS
MIT License
397 stars 358 forks source link

QBRequest.signUp Error 422 #1082

Closed vineeshtp closed 5 years ago

vineeshtp commented 6 years ago

When Sign up Got error 422 Find below code which is used for signp'

QBRequest.signUp(qUser, successBlock: { (response, user) in

        print(user)

    }) { (response) in
        if response.status.rawValue == 422{
            //Email ID already taken
            self.loginWithQuickBlox(qUser: qUser)
        }
        print(response)
    }

Error Log:-

headers: { "Access-Control-Allow-Origin" = "*"; "Cache-Control" = "no-cache"; Connection = "keep-alive"; "Content-Length" = 44; "Content-Type" = "application/json; charset=utf-8"; Date = "Mon, 27 Aug 2018 23:19:45 GMT"; Duration = "1.664355"; "QuickBlox-REST-API-Version" = "0.1.1"; Server = "nginx/1.8.1"; "Set-Cookie" = "_mkra_ctxt=7a573a99b9d7641043230e3b981f898d--422; path=/; max-age=5; HttpOnly; secure"; Status = "422 Unprocessable Entity"; "Strict-Transport-Security" = "max-age=31536000"; "X-Content-Type-Options" = nosniff; "X-Frame-Options" = SAMEORIGIN; "X-Request-Id" = "aabb62ef-c8c8-4f4f-867e-79b687251c50"; "X-Runtime" = "0.006391"; "X-XSS-Protection" = "1; mode=block"; } error: Request failed: client error (422) reasons: { errors = { base = ( "No application found" ); }; }

Environment details

Info Value
iOS Version e.g. 8.0
Quickblox iOS SDK version e.g. 2.7.6
QuickbloxWebRTC SDK version e.g. 2.2.1
Xcode Version e.g. Xcode 8.1
Repro with our demo sample e.g. does it happen with our demo sample?

Did this work before?

Expected behavior

Actual behavior

Logs

Please use the following template for logs:

To enable full logs use the following code:

[QBSettings setLogLevel:QBLogLevelDebug];
[QBSettings enableXMPPLogging];
Title for logs ```logos // Your logs here ```

Steps to reproduce the behavior

Any others comments

dhara6894 commented 5 years ago

I am also facing same issue, still didn't get any solution 24dc1074-6886-42b5-a3cf-ee9f0f82b32a

tuna25 commented 5 years ago

We had a similar issue in September. After investigation and communication with QuickBlox support we got this:

Maybe they again lost some DB data

ghost commented 5 years ago

Hello, dear @vineeshtp @dhara6894

Thank you for contacting QuickBlox support. Could you please confirm that this issue is still relevant for you?

ghost commented 5 years ago

The status of the ticket changed to "Closed" due to the absence of the reply.

RahulChona11091991 commented 5 years ago

Hi QuickBlox Team, I facing this same issue. [QBResponse], status: 422

Can anyone help in finding the issue?

Thanks