Jump to content

Emby Web login sends Username instead of UserName, causing HTTP 400 - Emby server version 4.9.5.0


Recommended Posts

pavlidis
Posted

Hi Emby community, I think there is a login bug in Emby server 4.9.5.0. The web login fails for me across multiple devices and browsers, and the server log shows Value cannot be null. (Parameter 'name') on POST /emby/Users/authenticatebyname.

After checking the network request, I found that Emby Web sends the form body as Username=myuser&Pw=mypassword, but the server seems to expect UserName=myuser&Pw=mypassword with a capital N. I tested this manually: Username=test&Pw=test returns HTTP 400 with the null name error, while UserName=test&Pw=test reaches normal login handling. As a temporary local fix, I changed the bundled web client from Username:name to UserName:name, and login started working again.

Could you please check this casing mismatch?

Posted

Hi, this is case insensitive. It does not matter whether you send username or Username or UserName.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...