How to fix the "block-unregistered-user" error for Gitlab projects


If the Prevent unregistered user spend feature is enabled for your Gitlab project, you might see that your builds fail with the following error message: block-unregistered-user.

When you sign up to CircleCI with your email address, you can accept an invite to a Gitlab project, you will be able to view and follow the project and trigger builds as long as builds are not restricted to registered users. However, if you have not connected your Gitlab user to your CircleCI account upon sign-up, you will not be considered a registered user of the organization and our system will prevent you from triggering a build when the Prevent unregistered user spend feature is enabled.


You can follow the below steps to connect your Gitlab user to your CircleCI account:

1. Log in with your email address and password on CircleCI

2. Click on the organization's name in the top left corner of the page and select Create New Organization on the drop-down menu:

Screenshot 2023-07-27 at 22.51.08.png

3.  Choose to connect your Gitlab account and log in with your Gitlab credentials:

Screenshot 2023-07-27 at 22.51.42.png   

4. Authorize CircleCI to connect your account:

Screenshot 2023-07-27 at 22.52.34.png

Once this is done, you will be able to set up your own project, if you wish to do so or you can cancel adding a project. At this point, your user will be a registered Gitlab user and you will be able to trigger builds.

Additional Resources:



Was this article helpful?
0 out of 0 found this helpful



Article is closed for comments.