# Troubleshooting deployments failing with no error message

This error might pop up if your project's files were recently upgraded/updated to the latest version. Any deployment you try will end up failing instantly.

![Deployment failed](/files/4Atk6cMyXC2DbdkH0GkL)

## Cause

This error is caused by leftover upgrade markers interfering with the Deploy process. This might happen if your environment was restarted during the upgrade, or the upgrade process encountered some issues.

## Fixing

In order to fix this issue, you would need to use [KUDU](/umbraco-cloud/optimize-and-maintain-your-site/monitor-and-troubleshoot/power-tools.md) to remove the leftover marker files.

1. Access KUDU on the source environment (the one you are deploying from)
2. Navigate to `site` > `locks` folder
3. In the folder, there should be a file named `upgrading`, `upgrade-failed` or `failed-upgrade`. Remove these files.
4. Repeat the operation on the target environment - it might also have the leftover marker

Once the leftover marker files are removed, your deployments should go through without problems.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.umbraco.com/umbraco-cloud/optimize-and-maintain-your-site/monitor-and-troubleshoot/resolve-issues-quickly-and-efficiently/deployments/deployment-failed.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
