# Getting 500 error on /teams/filtered\_usage\_events endpoint

**URL:** <https://forum.cursor.com/t/getting-500-error-on-teams-filtered-usage-events-endpoint/165632>\
**Category:** Bug Reports\
**Tags:** teams-enterprise\
**Created:** [July 13, 2026, 7:48pm UTC](https://forum.cursor.com/t/getting-500-error-on-teams-filtered-usage-events-endpoint/165632 "2026-07-13T19:48:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaulM](https://avatars.discourse-cdn.com/v4/letter/p/839c29/32.png) [@PaulM](https://forum.cursor.com/u/PaulM)\
**Post date:** [July 13, 2026, 7:48pm UTC](https://forum.cursor.com/t/getting-500-error-on-teams-filtered-usage-events-endpoint/165632/1 "2026-07-13T19:48:43Z")

</div>

### Where does the bug appear (feature/product)?

Somewhere else…

### Describe the Bug

Hi,

Currently getting Error 500 (Internal Server Error) when querying teams/filtered\_usage\_events endpoint. Anybody else have this issue?

### Steps to Reproduce

Send request to API

### Operating System

Windows 10/11

### Version Information

Not applicable

### Does this stop you from using Cursor

No - Cursor works, but with this issue

---

<div class="post-metadata">

**Author:** ![mohitjain](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/mohitjain/32/100229_2.png) [@mohitjain](https://forum.cursor.com/u/mohitjain)\
**Post date:** [July 14, 2026, 8:34am UTC](https://forum.cursor.com/t/getting-500-error-on-teams-filtered-usage-events-endpoint/165632/6 "2026-07-14T08:34:42Z")

</div>

A 500 on `/teams/filtered-usage-events` is usually about how the request is shaped rather than your account. Two quick things to check first:

1. Include a JSON body. If you send `-H "Content-Type: application/json"` with no body, the server rejects the empty payload and can return a 500. Send at least `-d '{}'`, or better, your range: `-d '{"startDate": 1748411762359, "endDate": 1751003762359}'` (dates are epoch milliseconds).
2. Use a team-scoped API key. The `/teams/*` endpoints need a team key, not an org key — a scope mismatch can come back as a 500. See the [Admin API docs](https://cursor.com/docs/account/teams/admin-api).

If you’re already doing both and still hitting it, could you share:

- the exact request body (date range + any filters — redact the key),
- the approximate time in UTC of a failing call, and
- whether it fails every time or only sometimes?

With that we can trace your specific request and dig in.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [August 13, 2026, 8:35am UTC](https://forum.cursor.com/t/getting-500-error-on-teams-filtered-usage-events-endpoint/165632/7 "2026-08-13T08:35:35Z")

</div>

Closed on August 13, 2026, 8:35am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
