# Bug OP-13725 - Gantt Chart API URI can get too long

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-13725

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 14.2.1 |
| Observed in versions | 13.0.0 |
| Sprint | 14.2.1 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 13.0.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 | Oliver Günther |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Before filing a report

*Before you file a report, please ensure you are running the latest version of OpenProject and*   
*have searched for similar bug reports.*

### Steps to reproduce

*Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:*

1.  Create an work package with type phase
2.  Add \>= 2000 work package relations to the created phase
3.  Add increased page size to as size of 2000 pages under <http://example.com/admin/settings/general>
4.  Increase API page size to 2000 under  <http://example.com/admin/settings/api>
5.  Go to the Gantt chart of the project
6.  Select the page size with 2000

### What is the buggy behavior?

*Please describe the bug in as much detail as possible. Example:*

  - The Gantt chart keeps loading
  - The URI of the API get "<http://localhost:8080/api/v3/relations?filters=> **...** \&pageSize=-1\&offset=1" 414 request gets longer than the max allowed length
  - When you open the Browser console you get an error message : '414 (Request-URI Too Long)'  full error in attachments: [openproject.log](https://community.openproject.org/attachments/79733/openproject.log)

### What is the expected behavior?

*Describe how the application should behave like. Example:*

1.  The Gantt chart should load properly

### **Logs**

*Are there errors in the browser console? (*[*Click here for information on how to open your browser's console*](https://webmasters.stackexchange.com/a/77337)*) For a local installation: Are there relevant logs output by* `_openproject logs_` *(packaged installation) (*[*click here for details*](https://docs.openproject.org/installation-and-operations/operation/monitoring/#show-logs)*) or in a log/production.log or /var/log/openproject/ ? Please attach error output in these log files if applicable*

Error message in Browser Console:

[openproject.log](https://community.openproject.org/attachments/79733/openproject.log)

### 

### Environment information

*Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs*

**OpenProject installation type**

- [ ] Hosted cloud edition
- [ ] Packaged installation
    - What distribution?
- [x] Docker All-in-one container
- [ ] Docker-compose installation
- [ ] Other (please specify)

**OpenProject version**

Version: 13.0.7

**Browser**

- [x] Chrome
- [x] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)
