How can I resolve an access denied error?
Date Published: May 27, 2025
Description
| Build stage | Job | Error message | Category | Responsibility |
|---|
| Deploy | 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.