# Not possible to Fetch User Workload

**URL:** https://community.awork.com/t/not-possible-to-fetch-user-workload/2780
**Category:** Developer Forum
**Created:** [3. Februar 2025 um 10:42 UTC](https://community.awork.com/t/not-possible-to-fetch-user-workload/2780 "2025-02-03T10:42:45Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Thomas2](https://avatars.discourse-cdn.com/v4/letter/t/aeb1de/32.png) [@Thomas2](https://community.awork.com/u/Thomas2)
#### Post date: [3. Februar 2025 um 10:42 UTC](https://community.awork.com/t/not-possible-to-fetch-user-workload/2780/1 "2025-02-03T10:42:45Z")

</div>

trace-id: 63cde57a30a85a147f76f55b43f25c5b  
API Endpoint: [https://api.awork.com/api/v1/users/workload](https://api.awork.com/api/v1/users/workload)  
Request: GET /api/v1/users/workload?intervalStart=2025-02-01T00%3A00%3A00Z&intervalEnd=2025-02-28T23%3A30%3A00Z&roughPlanningFrom=1

Response: 500 - Internal server error  
{  
„code“: „server-error“,  
„description“: „Oops, something went wrong. Try repeating the request. If it still fails, visit our developer portal for help at [https://developers.awork.com](https://developers.awork.com). Provide the ‚trace-id‘ from the response header so that we can help you best.“,  
„traceId“: „63cde57a30a85a147f76f55b43f25c5b“  
}

I want to fetch the workload of all users. But it is responding with an error 500.

---

<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: [3. Februar 2025 um 11:06 UTC](https://community.awork.com/t/not-possible-to-fetch-user-workload/2780/2 "2025-02-03T11:06:12Z")

</div>

Hi @Thomas2 , thanks for reporting this. You need to send a `userIds` query param with the user ids. I am working on a fix for the error message. This is listed as optional according to our docs but it is not. Will be fixed as well. [Returns the users' workloads per day. — awork API | Documentation](https://developers.awork.com/apiv1/workload/returns-the-users-workloads-per-day#request.query.userIds)
