Skip to main content
Question

Getting "Request missing required field" when I don't pass user_id while tracking with nodeJs SDK

  • November 13, 2024
  • 0 replies
  • 95 views

I’m trying to track the events of users who are not authenticated with the help of amplitude. 

Clearly, the userId field is optional, and can be passed as undefined.

 

ampli.propertySearchPerformed(undefined, { props })

 

But, when I do so - I got runtime error - “Request missing required field”.

I’ve tried with ampli wrapper and track as well but got same issues.

I’m using nodeJs SDK.

 

How exactly, I can avoid passing user_id?

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings