As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
Existing user with unconfirmed email returns strange error.
d
daniel_sedlacek
started a topic
over 7 years ago
When new user is created via Kinvey.User.signup his email address is not confirmed yet but he exists.
Kinvey.User.exists returns true but when the user tries to log in via Kinvey.User.login the answer is
{"name":"IncompleteRequestBody","description":"The request body is either missing or incomplete","debug":"The body of the request is missing credentials required to login"}
How do I know that user exists but his email address is not confirmed yet so that I do not try to log him in yet?
Best Answer
W
Wani
said
over 7 years ago
Hi Daniel,
If you try to login with an user with unconfirmed email, you should get following error
{
"error": "EmailVerificationRequired",
"description": "This app requires email address verification. Before performing any operations, please verify your email address by clicking the link sent to you upon signup.",
"debug": ""
}
The error you are getting seems to suggest that request body in login call is not getting sent correctly.
Can you share your SDK version (HTML5 SDK?) so that I can try to test this in my own environment?
If you try to login with an user with unconfirmed email, you should get following error
{
"error": "EmailVerificationRequired",
"description": "This app requires email address verification. Before performing any operations, please verify your email address by clicking the link sent to you upon signup.",
"debug": ""
}
The error you are getting seems to suggest that request body in login call is not getting sent correctly.
Can you share your SDK version (HTML5 SDK?) so that I can try to test this in my own environment?
Regards,
Wani
Kinvey Support
d
daniel_sedlacek
said
over 7 years ago
I have switched to the latest SDK (//da189i1jfloii.cloudfront.net/js/kinvey-html5-1.6.10.min.js) and the error message is ok now.
But there is another problem, the Kinvey.getActiveUser().username is not defined so I can not call Kinvey.User.verifyEmail() to resend the verification email nor log him out.
d
daniel_sedlacek
said
over 7 years ago
You have provided a workaround some time ago. Thanks.
daniel_sedlacek
When new user is created via Kinvey.User.signup his email address is not confirmed yet but he exists.
Kinvey.User.exists returns true but when the user tries to log in via Kinvey.User.login the answer is
{"name":"IncompleteRequestBody","description":"The request body is either missing or incomplete","debug":"The body of the request is missing credentials required to login"}
How do I know that user exists but his email address is not confirmed yet so that I do not try to log him in yet?
Hi Daniel,
If you try to login with an user with unconfirmed email, you should get following error
The error you are getting seems to suggest that request body in login call is not getting sent correctly.
Can you share your SDK version (HTML5 SDK?) so that I can try to test this in my own environment?
Regards,
Wani
Kinvey Support
- Oldest First
- Popular
- Newest First
Sorted by Oldest Firstdaniel_sedlacek
Hi, is there any update on this? Thanks
Wani
Hi Daniel,
If you try to login with an user with unconfirmed email, you should get following error
The error you are getting seems to suggest that request body in login call is not getting sent correctly.
Can you share your SDK version (HTML5 SDK?) so that I can try to test this in my own environment?
Regards,
Wani
Kinvey Support
daniel_sedlacek
I have switched to the latest SDK (//da189i1jfloii.cloudfront.net/js/kinvey-html5-1.6.10.min.js) and the error message is ok now.
But there is another problem, the Kinvey.getActiveUser().username is not defined so I can not call Kinvey.User.verifyEmail() to resend the verification email nor log him out.
daniel_sedlacek
You have provided a workaround some time ago. Thanks.
https://support.kinvey.com/support/discussions/topics/5000041813
-
How do I use Kinvey in my web app?
-
Is it safe to include keys/secrets in my client-side JavaScript app?
-
Why is the activeUser null even though I am logged in?
-
Login does not work even though credentials are valid.
-
Social login doesn’t work.
-
Appending objects to an Array (HTML5 - JS)
-
New to node.js - need bootstrap to downloadfiles from Kinvey
-
Problem with Aggregation/Grouping
-
Internal Server Error using Twitter Sign Up
-
Data Store
See all 315 topics