# Null PK errors in /event-streams endpoint

**URL:** <https://community.auth0.com/t/null-pk-errors-in-event-streams-endpoint/196631>\
**Category:** Get Help\
**Tags:** users, management-api\
**Created:** [January 27, 2026, 4:10am UTC](https://community.auth0.com/t/null-pk-errors-in-event-streams-endpoint/196631 "2026-01-27T04:10:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![srujan.anupa](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/srujan.anupa/32/71033_2.png) [@srujan.anupa](https://community.auth0.com/u/srujan.anupa)\
**Post date:** [January 27, 2026, 4:10am UTC](https://community.auth0.com/t/null-pk-errors-in-event-streams-endpoint/196631/1 "2026-01-27T04:10:01Z")

</div>

According to the Management API v2 documentation for **[`/api/v2/event-streams`](https://auth0.com/docs/api/management/v2/event-streams/get-event-streams)**, the field **`id`** is defined as the _ **unique identifier** for the event stream_. Based on this, we have implemented `id` as the primary key on our side.

However, we are receiving **`id` as null** , which is causing primary key issues and causing connection failures.

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [January 28, 2026, 6:35pm UTC](https://community.auth0.com/t/null-pk-errors-in-event-streams-endpoint/196631/3 "2026-01-28T18:35:52Z")

</div>

Hi @srujan.anupa

Welcome to the Auth0 Community!

Just to double check, are you using the Event Streams endpoint in order to integrate with an AWS EventBridge or are you trying to integrate with other log management tools (ex: Datadog, Webhooks, Splunk)?

If you are using it for AWS EventBridge or anything similar, then the `null` value might be a caused by a created stream process which did not complete (either it is stuck in a pending or failed validation status) and the backend record was created without finalizing.

Can you let me know if your Auth0 logs include the event stream ID and if they are successful or not? Also, does the same happen when using the Management API page you have linked above?

If you can confirm that these kind of entries are invalid and can be removed, you can configure your integration to filter them out, otherwise, you can attempt to use the `name` as a fallback key.

Please take note that the Event Streams feature is in Early Access and it might not behave accordingly at this time until its full release.

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 11, 2026, 6:36pm UTC](https://community.auth0.com/t/null-pk-errors-in-event-streams-endpoint/196631/4 "2026-02-11T18:36:20Z")

</div>

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