Skip to content
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

Sandbox error messages when requesting verification code for the phone number are not presented to the user #2386

Closed
dgolovin opened this issue Mar 18, 2022 · 0 comments
Assignees
Labels
demo Show in sprint review demo kind/bug priority/critical
Milestone

Comments

@dgolovin
Copy link
Collaborator

dgolovin commented Mar 18, 2022

There are two possible errors:

  1. Incorrect phone number
  2. Phone number is already in use

They are presented to the user on developers.redhad.com as it shown below:

image

This use case is not handled correctly. The message is very generic and does not give a user enough information to understand what is going on.

Json response for request look like json below. In case response status in not Ok the vscode error message notification should show 'details' field as part of the message dialog:

  "status": "Forbidden",
  "code": 403,
  "message": "phone number already in use:cannot register using phone number: +19252121749",
  "details": "phone number already in use"
}
@dgolovin dgolovin added this to the 0.4.0 milestone Mar 18, 2022
@dgolovin dgolovin self-assigned this Mar 18, 2022
@dgolovin dgolovin changed the title Sandbox error 'phone number already in use' is not visible Sandbox errors 'phone number already in use' and 'incorrect phone number' are not shown in error message Mar 19, 2022
@dgolovin dgolovin changed the title Sandbox errors 'phone number already in use' and 'incorrect phone number' are not shown in error message Sandbox error messages when requesting verification code for the phone number are not presented to the user Mar 19, 2022
@dgolovin dgolovin added the demo Show in sprint review demo label Mar 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
demo Show in sprint review demo kind/bug priority/critical
Projects
None yet
Development

No branches or pull requests

1 participant