Why does the Ruby SDK require a user ID on the tra...
# support
m
Hey There! 👋 Your message has been received by the RudderStack team. We will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
Hi Trevin all the server side SDKs such as the Ruby, Java, Node, PHP SDKs require an userId as a mandatory field. In all client side SDKs such as JS, Android, iOS SDKs the userId is an optional parameter (since you may have anonymous users).