title: How to get information from a GraphQL query that accepts no arguments
body: <h1>The situation</h1>
  <p>I have inherited a project that pulls from a GraphpQL API hosted somewhere on AWS.<br />
  I knew nothing about GraphQL yesterday morning, and I feel like I'm missing something obvious.</p>
  <p>I have <em>almost</em> all of the queries I need working, except one that looks odd.<br />
  <code>Query -&gt; pullUserData</code> accepts no arguments, and returns the <code>UserData</code> type.</p>
  <p>Nothing I try can get a record from this query. Even though the UserData seems to be pulled elsewhere in the project.</p>
  <p>All of my searching for an answer just gets results for how_to(pass_args:to_a_query).</p>
  <h1>What I've tried.</h1>
  <p>I have attempted many variations of the following.<br />
  I'm using <code>__typename</code> in the examples because (I think?) every field has a typename.</p>
  <p><code>{ pullUserData(id:&quot;known_id&quot;) { __typename } }</code><br />
  And I get back a validation error &quot;unknown field argument&quot;, which makes sense, the schema said it accepts no args.</p>
  <p><code>{ pullUserData }</code><br />
  Validation Error, subselection required. Again, kindof what I was expecting.</p>
  <p><code>{ pullUserData { __typename } }</code><br />
  This get some more information:</p>
  <pre><code>{
    &quot;data&quot;: null,
    &quot;errors&quot;: [
      {
        &quot;path&quot;: [
          &quot;pullUserData&quot;
        ],
        &quot;data&quot;: null,
        &quot;errorType&quot;: &quot;Lambda:Unhandled&quot;,
        &quot;errorInfo&quot;: null,
        &quot;locations&quot;: [
          {
            &quot;line&quot;: 1,
            &quot;column&quot;: 3,
            &quot;sourceName&quot;: null
          }
        ],
        &quot;message&quot;: &quot;Unable to parse event&quot;
      }
    ]
  }
  </code></pre>
  <h1>In summary</h1>
  <p>I'm trying to pull data from a query that accepts no args, and can't figure it out.</p>
  <p>I think I inherited this from someone who left on bad terms. Either way, they will not communicate with me or the company.</p>
  <p>I learned what little I know of GraphQL on this project, yesterday, and I feel like I'm missing something that will be obvious to anyone who has used it before.<br />
  I'm starting to suspect it's just broken, too.</p>
  <p>Thanks for any help y'all can give.</p>