title: Graph QL Apollo Server throwing INTERNAL_SERVER_ERROR. Can't find source of error
body: <p>Here is the error being returned from the query playground when I try to run any query.</p>
  <p>I really have no idea where this error is originating because from the stack trace it looks like it's deep inside the apollo internals.</p>
  <pre class="lang-json prettyprint-override"><code>{
    &quot;error&quot;: {
      &quot;errors&quot;: [
        {
          &quot;message&quot;: &quot;Cannot convert undefined or null to object&quot;,
          &quot;extensions&quot;: {
            &quot;code&quot;: &quot;INTERNAL_SERVER_ERROR&quot;,
            &quot;exception&quot;: {
              &quot;stacktrace&quot;: [
                &quot;TypeError: Cannot convert undefined or null to object&quot;,
                &quot;    at Function.values (&lt;anonymous&gt;)&quot;,
                &quot;    at C:\\Users\\ccrow\\Documents\\Repositories\\fullstack-boilerplate\\node_modules\\apollo-server-core\\dist\\requestPipeline.js:343:53&quot;,
                &quot;    at Generator.next (&lt;anonymous&gt;)&quot;,
                &quot;    at C:\\Users\\ccrow\\Documents\\Repositories\\fullstack-boilerplate\\node_modules\\apollo-server-core\\dist\\requestPipeline.js:8:71&quot;,
                &quot;    at new Promise (&lt;anonymous&gt;)&quot;,
                &quot;    at __awaiter (C:\\Users\\ccrow\\Documents\\Repositories\\fullstack-boilerplate\\node_modules\\apollo-server-core\\dist\\requestPipeline.js:4:12)&quot;,
                &quot;    at initializeDataSources (C:\\Users\\ccrow\\Documents\\Repositories\\fullstack-boilerplate\\node_modules\\apollo-server-core\\dist\\requestPipeline.js:338:20)&quot;,
                &quot;    at Object.&lt;anonymous&gt; (C:\\Users\\ccrow\\Documents\\Repositories\\fullstack-boilerplate\\node_modules\\apollo-server-core\\dist\\requestPipeline.js:41:15)&quot;,
                &quot;    at Generator.next (&lt;anonymous&gt;)&quot;,
                &quot;    at C:\\Users\\ccrow\\Documents\\Repositories\\fullstack-boilerplate\\node_modules\\apollo-server-core\\dist\\requestPipeline.js:8:71&quot;,
                &quot;    at new Promise (&lt;anonymous&gt;)&quot;,
                &quot;    at __awaiter (C:\\Users\\ccrow\\Documents\\Repositories\\fullstack-boilerplate\\node_modules\\apollo-server-core\\dist\\requestPipeline.js:4:12)&quot;,
                &quot;    at Object.processGraphQLRequest (C:\\Users\\ccrow\\Documents\\Repositories\\fullstack-boilerplate\\node_modules\\apollo-server-core\\dist\\requestPipeline.js:34:12)&quot;,
                &quot;    at C:\\Users\\ccrow\\Documents\\Repositories\\fullstack-boilerplate\\node_modules\\apollo-server-core\\dist\\runHttpQuery.js:164:62&quot;,
                &quot;    at Generator.next (&lt;anonymous&gt;)&quot;,
                &quot;    at C:\\Users\\ccrow\\Documents\\Repositories\\fullstack-boilerplate\\node_modules\\apollo-server-core\\dist\\runHttpQuery.js:8:71&quot;
              ]
            }
          }
        }
      ]
    }
  }
  </code></pre>
  <p>Here is a link to my project repo: <a href="https://github.com/ccrowley96/fullstack-boilerplate" rel="nofollow noreferrer">project repo</a></p>
  <p>Here is a link to the server index file which starts the apollo-server and the express app: <a href="https://github.com/ccrowley96/fullstack-boilerplate/blob/main/server/index.js" rel="nofollow noreferrer">index.js</a></p>