Skip to content

Clarify error when base url invalid - direct transfer

Carla Drago requested to merge 423790-improve-error-message into master

What does this MR do and why?

This change ensures the error message displayed in the event that the base url of a source instance for direct transfer is invalid, makes sense to the user.

It also updates and points to relevant documentation.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot 2023-11-16 at 15.27.17.png Screenshot 2023-11-23 at 10.20.03.png

How to set up and validate locally

  1. Create a new group. On the left sidebar, at the top, select Create new (+) and New group. Then select Import group.

  2. Enter an incorrect base URL of a GitLab instance e.g. https://gitlab.com/random-group

  3. Enter the personal access token for the source GitLab instance.

  4. Select Connect instance.

  5. You should observe the error message from the After screenshot above:

    "Unable to connect to server: Check that the source instance base URL and the personal access token meet the necessary requirements."

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #423790 (closed)

Edited by Carla Drago

Merge request reports