title: Error Converting Circular Structure to JSON...take 2
body: <p>How can I fix the error? I'm working in GoormIDE. I posted this question earlier, but had to take that post down. I've checked other posts, but I'm still a beginner and I'm following along a tutorial, so I would appreciate help on this specific problem. I see it has something to do with JSON.stringify...but I don't know what that is or where it would go...thanks for the help!</p>
  <pre><code>var express = require('express');
  var app = express();
  const axios = require('axios');
  
  app.listen(3000, function() { 
    console.log('Server listening on port 3000'); 
  });
  
  app.get(&quot;/results&quot;, function(req, res){
      axios.get(&quot;http://www.omdbapi.com/?apikey=&lt;myKey&gt;&amp;s=california&quot;)
      .then(function (response){
          res.send(response);
      })
      .catch(function (error){
          console.log(&quot;There is an Error&quot;);
          console.log(error);
      })
  })
  </code></pre>
  <p>ERROR:</p>
  <pre><code>TypeError: Converting circular structure to JSON
      --&gt; starting at object with constructor 'ClientRequest'
      |     property 'socket' -&gt; object with constructor 'Socket'
      --- property '_httpMessage' closes the circle
      at JSON.stringify (&lt;anonymous&gt;)
      at stringify (/workspace/webDevBootcamp2/APIs/API_Movie_App/node_modules/express/lib/response.js:1123:12)
      at ServerResponse.json (/workspace/webDevBootcamp2/APIs/API_Movie_App/node_modules/express/lib/response.js:260:14)
      at ServerResponse.send (/workspace/webDevBootcamp2/APIs/API_Movie_App/node_modules/express/lib/response.js:158:21)
      at /workspace/webDevBootcamp2/APIs/API_Movie_App/app.js:12:7
      at processTicksAndRejections (internal/process/task_queues.js:97:5)
  </code></pre>