title: Action isn't responding right now error
body: <p>I deployed an Actions on Google webhook (Actions SDK) and I am interacting with it using the simulator. However, I get the error message: "Action: action name isn’t responding right now. Try again soon." How can I troubleshoot this problem?</p>
  
  <p>These are the steps I took to produce this error.</p>
  
  <p>Deploy webhook. I verified that it is publicly accessible, uses HTTPS, and is capable of handling the <a href="https://developers.google.com/actions/reference/conversation#request" rel="nofollow noreferrer">example request</a>. It also sets the <code>Google-Assistant-API-Version</code> response header.</p>
  
  <p>Point action.json to the publicly accessible webhook, then preview the action:</p>
  
  <pre><code>gactions --verbose preview --action_package=action.json -invocation_name="action name"
  </code></pre>
  
  <p>Start the simulator:</p>
  
  <pre><code>gactions --verbose simulate
  </code></pre>
  
  <p>Simulate an interaction:</p>
  
  <pre><code>Finished checking for updates -- no updates available
  Reading credentials from: creds.data
  User TTS (CTRL-C to stop): 
  talk to action name
  Sending POST request to: https://assistant.googleapis.com/v1/assistant:converse
  Request body:
  {
    "query": "talk to action name"
  }
  
  Response body:
  {
    "response": "action name isn’t responding right now. Try again soon.\n",
    "audioResponse": "...",
    "debugInfo": {}
  }
  </code></pre>
  
  <p>Although the message indicates that the action is not responding, I can see from my webhook logs that it is responding successfully with an HTTP status code of 200 and it is producing a JSON response that looks very similar to the <a href="https://developers.google.com/actions/reference/conversation#http-response" rel="nofollow noreferrer">example responses</a>.</p>
  
  <p>What can be done to debug this issue?</p>
  
  <p>On a side note, it looks like the actual request I am getting does not quite match the documentation. Here is an example of an actual request:</p>
  
  <pre><code>{"user":{"user_id":"..."},"conversation":{"conversation_id":"...","type":1},"inputs":[{"intent":"assistant.intent.action.MAIN","raw_inputs":[{"input_type":2,"query":"talk to action name"}],"arguments":[]}]}
  </code></pre>
  
  <p>Notice that <code>conversation.type</code> is an integer, not a String. In addition, no <code>conversation_token</code> is provided and thus, the <code>conversation_token</code> in the response I am generating is <code>null</code>.</p>