Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8744505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:51:03+00:00 2026-06-13T11:51:03+00:00

Guys I am facing the below irrelevant error. 500 Error: Argument passed in must

  • 0

Guys I am facing the below irrelevant error.

500 Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters
at Function.createFromHexString (/home/r121/Desktop/nilesh/cmarin-MongoDB-Node-Express-Blog-4a5e5e9/trucy-mongodb-express-node.js-blog-37daddd/node_modules/mongodb/node_modules/bson/lib/bson/objectid.js:214:11)
at ArticleProvider.findById (/home/r121/Desktop/nilesh/cmarin-MongoDB-Node-Express-Blog-4a5e5e9/trucy-mongodb-express-node.js-blog-37daddd/articleprovider-mongodb.js:61:89)
at ArticleProvider.getCollection (/home/r121/Desktop/nilesh/cmarin-MongoDB-Node-Express-Blog-4a5e5e9/trucy-mongodb-express-node.js-blog-37daddd/articleprovider-mongodb.js:39:10)
at Db.collection (/home/r121/Desktop/nilesh/cmarin-MongoDB-Node-Express-Blog-4a5e5e9/trucy-mongodb-express-node.js-blog-37daddd/node_modules/mongodb/lib/mongodb/db.js:478:44)
at ArticleProvider.getCollection (/home/r121/Desktop/nilesh/cmarin-MongoDB-Node-Express-Blog-4a5e5e9/trucy-mongodb-express-node.js-blog-37daddd/articleprovider-mongodb.js:37:11)
at ArticleProvider.findById (/home/r121/Desktop/nilesh/cmarin-MongoDB-Node-Express-Blog-4a5e5e9/trucy-mongodb-express-node.js-blog-37daddd/articleprovider-mongodb.js:58:10)
at /home/r121/Desktop/nilesh/cmarin-MongoDB-Node-Express-Blog-4a5e5e9/trucy-mongodb-express-node.js-blog-37daddd/app.js:63:21
at callbacks (/home/r121/Desktop/nilesh/cmarin-MongoDB-Node-Express-Blog-4a5e5e9/node_modules/express/lib/router/index.js:272:11)
at param (/home/r121/Desktop/nilesh/cmarin-MongoDB-Node-Express-Blog-4a5e5e9/node_modules/express/lib/router/index.js:246:11)
at param (/home/r121/Desktop/nilesh/cmarin-MongoDB-Node-Express-Blog-4a5e5e9/node_modules/express/lib/router/index.js:243:11)

While I am just calling the /blog/search method which looks like this

app.get('/blog/search', function(req, res) {

        res.render('blog_search.ejs', {
            title: 'Search Contact',
            });
                 });

My blog_search.ejs looks like this

<h1><%= title %></h1>
   <form method="post" action="/blog/search">
     <input type="text" name="title">
     <input type="submit" name="submit">

Please help me out with this error.I get this error while accessing it with the URL as well as the a href.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T11:51:04+00:00Added an answer on June 13, 2026 at 11:51 am

    yeah actually search module was written under the ID fields so it was unable to perform anything.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

hey guys, i love the jquery toggle function. however currently i'm facing a little
Hello guys i'm facing a isolated exception when trying to edit my UI it
guys, I would like to you evaluate next code below. As you see, I
Guys, what is function called after my class loaded, where i can call self
Hey guys here is the problem i am facing i have a User class
Guys i am facing a problem with wildcard character in jquery. Please help if
hey guys, i'm facing a little annoying bug that's in my case not really
Hi guys I am using entity framework, I am facing some problem while checking
Hi i'm beginning to learn django and i'm facing same trouble .Could you guys
I am facing a quite interesting but annoying error, in my linear layout i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.