when i console.log(response) then i get the result on the terminal,
but when i use res.status(200).json(response); i get this error on my nextjs project &