Skip to content

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

@dgolovin

Description

@dgolovin

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"
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions