# Rudderstack not receiving user id in payload

**URL:** <https://community.feathery.io/t/rudderstack-not-receiving-user-id-in-payload/222>\
**Category:** Support\
**Created:** [October 23, 2023, 10:57pm UTC](https://community.feathery.io/t/rudderstack-not-receiving-user-id-in-payload/222 "2023-10-23T22:57:24Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![trevinbc](https://avatars.discourse-cdn.com/v4/letter/t/858c86/32.png) [@trevinbc](https://community.feathery.io/u/trevinbc)\
**Post date:** [October 23, 2023, 10:57pm UTC](https://community.feathery.io/t/rudderstack-not-receiving-user-id-in-payload/222/1 "2023-10-23T22:57:24Z")

</div>

Rudderstack is not receiving the feathery user id in the payload anymore. In the rudderstack live events view, they are reporting this as empty:

```auto
"userId": ""

```

Shouldn’t the user id always be populated in this case when it’s provided by us in the initialization? We expected it either at the top level within `userId` or as part of the `properties`.

The way rudderstack works, it should probably be in both as a `track` call that’s missing user id means something is probably missing in the invocation.

Separately: I swear this was something that was previously sent. So was this changed? If so, it’s a pretty big change.

---

<div class="post-metadata">

**Author:** ![peter](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.feathery.io/peter/32/7_2.png) [@peter](https://community.feathery.io/u/peter)\
**Post date:** [October 24, 2023, 3:06am UTC](https://community.feathery.io/t/rudderstack-not-receiving-user-id-in-payload/222/2 "2023-10-24T03:06:03Z")

</div>

We don’t call `identify` in rudderstack. would you prefer that we do, with the feathery user id?

---

<div class="post-metadata">

**Author:** ![trevinbc](https://avatars.discourse-cdn.com/v4/letter/t/858c86/32.png) [@trevinbc](https://community.feathery.io/u/trevinbc)\
**Post date:** [October 24, 2023, 3:36am UTC](https://community.feathery.io/t/rudderstack-not-receiving-user-id-in-payload/222/3 "2023-10-24T03:36:08Z")

</div>

According to their docs you should be able to just pass in `userId` with the track call?

> **[Common fields](https://www.rudderstack.com/docs/event-spec/standard-events/common-fields/#common-fields)**
>
> Understand the common fields that define the core RudderStack event data structure.

This is likely the simplest thing across all your events I think. Not sure if an identify call is truly needed.

---

<div class="post-metadata">

**Author:** ![peter](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.feathery.io/peter/32/7_2.png) [@peter](https://community.feathery.io/u/peter)\
**Post date:** [October 24, 2023, 5:38am UTC](https://community.feathery.io/t/rudderstack-not-receiving-user-id-in-payload/222/4 "2023-10-24T05:38:36Z")

</div>

2.0.182 will now call `identify` with the feathery user id

---

<div class="post-metadata">

**Author:** ![rachaelsweetman](https://avatars.discourse-cdn.com/v4/letter/r/b38774/32.png) [@rachaelsweetman](https://community.feathery.io/u/rachaelsweetman)\
**Post date:** [October 24, 2023, 7:15pm UTC](https://community.feathery.io/t/rudderstack-not-receiving-user-id-in-payload/222/5 "2023-10-24T19:15:32Z")

</div>

hey peter! we’re seeing the userId come in now, but it doesnt seem to match right. ex

```auto
{
    ...
    "properties": {
        ...
    },
     ...
    "userId": "faa05b53-7d36-4ff6-ac9d-c1b0ba3663fc"
}

```

was the hook that came in for my user with the feathery user ID of `13648`

---

<div class="post-metadata">

**Author:** ![trevinbc](https://avatars.discourse-cdn.com/v4/letter/t/858c86/32.png) [@trevinbc](https://community.feathery.io/u/trevinbc)\
**Post date:** [October 24, 2023, 9:19pm UTC](https://community.feathery.io/t/rudderstack-not-receiving-user-id-in-payload/222/6 "2023-10-24T21:19:10Z")

</div>

@peter That suspiciously looks like an auto generated GUID for the user ID either by feathery or via rudderstack.

I think using identify here is the wrong call as a replacement for the user ID for the track call. Even with the identify call, i believe you need to provide the correct user ID in with the track call/

---

<div class="post-metadata">

**Author:** ![peter](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.feathery.io/peter/32/7_2.png) [@peter](https://community.feathery.io/u/peter)\
**Post date:** [October 25, 2023, 3:11am UTC](https://community.feathery.io/t/rudderstack-not-receiving-user-id-in-payload/222/7 "2023-10-25T03:11:04Z")

</div>

At what point in your flow are you initializing your custom user id? Do you pass it into the init() call? And are you preloading your forms at all? (if you don’t know what i’m referring to by preload, you’re probably not)

---

<div class="post-metadata">

**Author:** ![rachaelsweetman](https://avatars.discourse-cdn.com/v4/letter/r/b38774/32.png) [@rachaelsweetman](https://community.feathery.io/u/rachaelsweetman)\
**Post date:** [October 25, 2023, 5:01pm UTC](https://community.feathery.io/t/rudderstack-not-receiving-user-id-in-payload/222/8 "2023-10-25T17:01:22Z")

</div>

we init the form with a user-specific SDK key `Feathery.init(userSdkKey)`. And no we’re not preloading

---

<div class="post-metadata">

**Author:** ![peter](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.feathery.io/peter/32/7_2.png) [@peter](https://community.feathery.io/u/peter)\
**Post date:** [October 25, 2023, 9:17pm UTC](https://community.feathery.io/t/rudderstack-not-receiving-user-id-in-payload/222/9 "2023-10-25T21:17:41Z")

</div>

Ah thanks, that’s helpful. Think we fixed the issue in 2.0.186 if you can try again
