How to Resolve “UserId is Null” Error in ASP.NET Core API?
I’m encountering an issue with my ASP.NET Core API where the UserId appears to be null in the CreateStoryCommand despite being present in the CreateStoryRequest and StoryController. Here’s the error message I’m receiving: