I\'ve got the following...
chrome.extension.sendRequest({ req: \"getDocument\", docu: pagedoc, name: \'name\' }, function(response){ var efjs = respo
For my case I was getting that error when I was using async function on my server-side to fetch documents using mongoose. It turned out that the reason was I forgot to put await before calling find({}) method. Adding that part fixed my issue.
async
await
find({})