# Filtering tasks by user not possible

**URL:** https://community.awork.com/t/filtering-tasks-by-user-not-possible/3600
**Category:** Developer Forum
**Created:** [6. Juni 2025 um 14:27 UTC](https://community.awork.com/t/filtering-tasks-by-user-not-possible/3600 "2025-06-06T14:27:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Max5](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@Max5](https://community.awork.com/u/Max5)
#### Post date: [6. Juni 2025 um 14:27 UTC](https://community.awork.com/t/filtering-tasks-by-user-not-possible/3600/1 "2025-06-06T14:27:03Z")

</div>

Dear Community and awork,

as per awork documentation [https://developers.awork.com/apiv1/time-entries/returns-all-time-entries](https://developers.awork.com/apiv1/time-entries/returns-all-time-entries) we try to get time entries and filter them by user.

for this request

[https://api.awork.com/api/v1/timeentries?filterby=user/id](https://api.awork.com/api/v1/timeentries?filterby=user/id) eq „12345678-1234-1234-1234-123456789123“

we always receive an answer like that:

Fehlerhafte Antwort von awork: 400 {„code“:„invalid-filter-or-order“,„description“:„Something is wrong with the given ‚filterby‘ expression.“,„traceId“:„f50c6cb3c82bf2b5f0f7000ec7e009b1“}

What’s wrong with our request?

Thanks for any help!

Max

---

<div class="post-metadata">

### Author: ![Sebastian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.awork.com/sebastian/32/89_2.png) [@Sebastian](https://community.awork.com/u/Sebastian)
#### Post date: [6. Juni 2025 um 14:45 UTC](https://community.awork.com/t/filtering-tasks-by-user-not-possible/3600/2 "2025-06-06T14:45:10Z")

</div>

Hi @Max5 and welcome to the forum.

You need to include `guid'123..'` to make the user id as a guid.  
See the docs here: [Filtering | awork API | Documentation](https://developers.awork.com/filtering#data-types)

Hope this helps.

---

<div class="post-metadata">

### Author: ![Max5](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@Max5](https://community.awork.com/u/Max5)
#### Post date: [6. Juni 2025 um 15:22 UTC](https://community.awork.com/t/filtering-tasks-by-user-not-possible/3600/3 "2025-06-06T15:22:38Z")

</div>

Thanks for your quick help @Sebastian !  
That was the information I missed.

Have a nice weekend.
