Anuj Pachawadkar Thanks for posting your question in Microsoft Q&A. This appears to be an issue described here and make sure you are using Node.js version 18.x.
If it doesn't resolve, share the code snippet, functions runtime version/node.js version, configuration etc.? That will help us understand the issue better. Or you can also file the issue in GitHub repo azure-functions-nodejs-library.
I hope this helps with your question and let me know if you have any other questions.
If you found the answer to your question helpful, please take a moment to mark it as "Yes" for others to benefit from your experience. Or simply add a comment tagging me and would be happy to answer your questions.