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.11 Perl/v5.16.3 [Mon Jan 27 20:10:34 2020]