Message "Unhandled rejection TypeError: Argument must be a string" is shown when is using the "mongodb" "2.2.16" version dependence in the cloud application logs
Issue
- Message
Unhandled rejection TypeError: Argument must be a string
is shown when is using themongodb
2.2.16
version dependence in the cloud application logs
The following is an example of this message error.
Unhandled rejection TypeError: Argument must be a string
at TypeError (native)
at Buffer.write (buffer.js:576:21)
at serializeObjectId
Environment
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.