---
title: "How can I resolve an access denied error?"
date: "2025-05-27T10:13:02+00:00"
summary: "Troubleshoot and fix access denied errors in Acquia Cloud Platform with our step-by-step guide for developers."
image:
type: "article"
url: "/acquia-cloud-platform/add-ons/code-studio/help/69341-how-can-i-resolve-access-denied-error"
id: "e99b2d3f-6841-4faf-838b-405e697f40ad"
---

**Description**

**Build stage**

**Job**

**Error message**

**Category**

**Responsibility**

[Deploy](https://docs.acquia.com/acquia-cloud-platform/add-ons/code-studio/docs/customizing-code-studio/drupal-auto-devops/autodevops-jobs#section-deploy-drupal-stage)

Creating Artifact

`glab auth git-credential: "erase" is an invalid operation remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2FA enabled and you must use a personal access token instead of a password. See https://code.acquia.com/help/topics/git/troubleshooting_git #error-on-git-fetch-http-basic-access-denied fatal: Authentication failed for 'https://code.acquia.com/<USERNAME>/<PROJECT-NAME>.git/'`

Application

Customer

**Potential cause**

Your token has expired.

**Solution**

Use `glab auth login` to configure the token again.