---
title: "Why am I getting an Access Denied error when trying to log in to my website?"
date: "2025-05-08T07:32:24+00:00"
summary: "Troubleshoot Access Denied errors when logging in to your website. Learn how to obtain a one-time login URL using Drush commands."
image:
type: "article"
url: "/acquia-cloud-platform/add-ons/cloud-ide/help/68706-why-am-i-getting-access-denied-error-when-trying-log-my-website"
id: "2db23eb8-9989-458c-8793-745563db7c40"
---

When pulling your application in Cloud IDE, Acquia automatically [sanitizes your database](https://www.drush.org/latest/commands/sql_sanitize/) for security purposes. In other words, Acquia obfuscates sensitive user data such as (but not limited to) email addresses and passwords.

This means you will get an Access Denied error (403) when trying to log in to your website at `/user/login`. Instead, run the following Drush command from your `/home/ide/project` directory to obtain a one-time login URL.

    drush uli
                                            https://<UUID>.web.ahdev.cloud/en/user/reset/1/1649572871/<TOKEN>/login

To override the default behavior, run the following command:

    acli pull --no-scripts