Weird error that 'foobar was passed into getMovieByID sometimes

I saw this error in console wihch I typed ‘npm start’. After I was aware of it’s existance, I add console.log within getMovieById to log every id passed in and got this. Was it expected while status page been loaded?

Yes, this is expected. We’re testing to see if you are handling invalid Object Ids