title: Setup a basic WebSocket mock in AWS ApiGateway
body: <p>I am trying to setup an extremely simple WebSocket mock within AWS ApiGateway. However, every attempt I've tried gives me an error:</p>
  
  <pre><code>13:36:52 (X33uOGUfIAMFq7w=) Extended Request Id: X33uOGUfIAMFq7w=
  13:36:52 (X33uOGUfIAMFq7w=) Verifying Usage Plan for request: X33uOGUfIAMFq7w=. API Key: API Stage: redacted/prod
  13:36:52 (X33uOGUfIAMFq7w=) API Key authorized because route '$connect' does not require API Key. Request will not contribute to throttle or quota limits
  13:36:52 (X33uOGUfIAMFq7w=) Usage Plan check succeeded for API Key and API Stage redacted/prod
  13:36:52 (X33uOGUfIAMFq7w=) Starting execution for request: X33uOGUfIAMFq7w=
  13:36:52 (X33uOGUfIAMFq7w=) WebSocket Request Route: [$connect]
  13:36:52 (X33uOGUfIAMFq7w=) Client [UserAgent: null, SourceIp: redacted] attempts to connect to WebSocket API [redacted].
  13:36:52 (X33uOGUfIAMFq7w=) Execution failed due to configuration error: statusCode should be an integer which defined in request template
  13:36:52 (X33uOGUfIAMFq7w=) Client [UserAgent: null, SourceIp: redacted] failed to connect to API [redacted].
  </code></pre>
  
  <p>As far as I can tell, I've followed the most basic configuration possible. I do not need any responses or templates, just simple a WebSocket connection that allows me to connect to it and do nothing, or perhaps respond to <code>ping</code> requests with a <code>pong</code> eventaully.</p>
  
  <p><a href="https://i.stack.imgur.com/49fJz.png" rel="noreferrer"><img src="https://i.stack.imgur.com/49fJz.png" alt="api route $connect"></a></p>
  
  <p>All authorizations and API keys are disabled. No request templates or integration responses are setup since I do not need them. Again, the goal is to just be able to have a dumb WebSocket that can be connected to. </p>
  
  <p><a href="https://i.stack.imgur.com/4XJ08.png" rel="noreferrer"><img src="https://i.stack.imgur.com/4XJ08.png" alt="no request templates"></a></p>
  
  <p>However, whenever I try to connect to it, I get a 500 error with the error logs from above about a status code.</p>
  
  <pre><code>WebSocket connection to 'wss://redacted.execute-api.us-east-1.amazonaws.com/prod' failed: Error during WebSocket handshake: Unexpected response code: 500
  </code></pre>