# Bug OP-15385 - Direct-upload-token error on Nextcloud with prefix

Project: OpenProject
Status: tested
URL: https://community.openproject.org/work_packages/OP-15385

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 14.3.0 |
| Observed in versions | 14.2.0 |
| Sprint | 14.3.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 14.2.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Eric Schubert |
| Product manager |  |
| Developers | OP Dev Titan Team |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  You need a Nextcloud instance behind a prefix e.g. example.com/mynextcloudprefix

2.  Try to upload a file

### What is the buggy behavior?

  - The file can't be uploaded.  
    Exception The requested uri(/lzcloudindex.php/apps/integration\_openproject/direct-upload-token) cannot be processed by the script '/lzcloud/index.php')

### What is the expected behavior?

1.  No error occurres and file can be uploaded

###
