---
title: "How can I resolve a project setup 401 unauthorized error?"
date: "2025-05-27T10:22:53+00:00"
summary: "Resolve 401 unauthorized errors in project setup by ensuring an Owner or Maintainer role in Code Studio runs the process."
image:
type: "article"
url: "/acquia-cloud-platform/add-ons/code-studio/help/69371-how-can-i-resolve-project-setup-401-unauthorized-error"
id: "9480996d-050a-4927-9291-08c72f58abcc"
---

**Description**

**Build stage**

**Job**

**Error message**

**Category**

**Responsibility**

N/A

N/A

`401 Unauthorized`

Application

Customer

**Potential cause**

If you see an unauthorized error during `acli cs:wizard --gitlab-host-name=code.acquia.com`, it is likely that you do not have the required role in Code Studio.

**Solution**

Ensure that a user with the role **Owner** or **Maintainer** role in Code Studio runs the project setup. For information about roles and permissions, visit [User roles and permissions](/acquia-cloud-platform/add-ons/code-studio/assigning-and-revoking-user-seats "https://docs.acquia.com/acquia-cloud-platform/add-ons/code-studio/getting-started/managing-user-seats#section-user-roles-and-permissions").