title: No DesignTimeAgent found when testing with detectIntent API using prebuilt agent template and "try this API" button
body: <p>Always return No DesignTimeAgent found (even using the prebuilt agent template) when testing with detectIntent API in DialogFlow using &quot;Try this API&quot;. The API I tried is &quot;projects.agent.sessions.detectIntent&quot;.</p>
  <p>The session parameter is &quot;projects/dialogflow-293106/agent/sessions/123123123&quot;</p>
  <p>and request body is:</p>
  <blockquote>
  <p>{   &quot;queryInput&quot;: {
  &quot;text&quot;: {
  &quot;text&quot;: &quot;hi&quot;,
  &quot;languageCode&quot;: &quot;en&quot;
  }   } }</p>
  </blockquote>
  <p>The following error returned:</p>
  <blockquote>
  <p>{   &quot;error&quot;: {
  &quot;code&quot;: 404,
  &quot;message&quot;: &quot;com.google.apps.framework.request.NotFoundException: No DesignTimeAgent found for project 'dialogflow-293106'.&quot;,
  &quot;status&quot;: &quot;NOT_FOUND&quot;   } }</p>
  </blockquote>
  <p><a href="https://i.stack.imgur.com/gwmZf.png" rel="nofollow noreferrer">screen cap of &quot;Try this API&quot; 1</a></p>
  <p><a href="https://i.stack.imgur.com/owxEk.png" rel="nofollow noreferrer">screen cap of &quot;Try this API&quot; 2</a></p>