# Bug OP-17730 - API: timeEntries Link is not working

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Time tracking, API |
| Target versions | 16.4.0 |
| Observed in versions | 16.3.0 |
| Sprint | 16.4.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.3.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 |  |
| Product manager |  |
| Developers | Klaus Zanders |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

I am using the API as documented at [https://www.openproject.org/docs/api/endpoints/work-packages/](https://www.openproject.org/docs/api/endpoints/work-packages/) to get information on a specific work package with the endpoint /api/v3/work\_packages/{id}. In the returned linked properties I am interested in the timeEntries property.

### What is the buggy behavior?

Following the link in the href element (GET /api/v3/time\_entries?filters=\[{&quot;work\_package\_id&quot;:{&quot;operator&quot;:&quot;=&quot;,&quot;values&quot;:\[&quot;1234&quot;\]}}\], URI-escaped) fails with status 400 and the error

errorIdentifier: urn:openproject-org:api:v3:errors:InvalidQuery  
message: Filters Arbeitspaket Filter existiert nicht.

This issue occurred with all work packages that i have tried.

### What is the expected behavior?

The GET request should return a list of time entries.

### Environment information

**OpenProject installation type**

*   Hosted at openproject.com: bfw-online.openproject.com
    

**OpenProject version**

_16.3.0_
