Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

MongoDB::AuthError: Authentication to localhost:27017 failed: MongoDB::DatabaseError: field missing/wrong type in received authenticate command

Apache/2.4.6 (Red Hat Enterprise Linux) Embperl/2.5.0 OpenSSL/1.0.2k-fips mod_perl/2.0.10 Perl/v5.16.3 [Tue Jan 15 22:49:38 2019]