title: CouchDB view URL shows: CouchDB: {"error":"not_found","reason":"missing"} ... Why?
body: <p>For example:</p>
  
  <ul>
  <li>My CouchDB is hosted on: example.com</li>
  <li>The CouchDB database name is: foo</li>
  <li>The View name is: my_view</li>
  </ul>
  
  <p>So, when I put these together to construct the URL, I get:</p>
  
  <ul>
  <li><a href="http://www.example.com/foo/my_view" rel="noreferrer">http://www.example.com/foo/my_view</a></li>
  </ul>
  
  <p>The above URL shows:</p>
  
  <pre><code> {"error":"not_found","reason":"missing"}
  </code></pre>
  
  <p><strong>Why is this error given?</strong> </p>
  
  <p>The expected result is that that the documents corresponding to the "my_view" view are listed.</p>
  
  <p>More Info:</p>
  
  <p>If I visit <a href="http://www.example.com/foo" rel="noreferrer">http://www.example.com/foo</a>, I get the expected response:</p>
  
  <pre><code>{"db_name":"foo","...
  </code></pre>
  
  <p>If I visit <a href="http://www.example.com/foo/_design/my_view" rel="noreferrer">http://www.example.com/foo/_design/my_view</a>, I get the expected response:</p>
  
  <pre><code>{"_id":"_design/my_view","_rev":"...
  </code></pre>
  
  <p>I'm using CouchDB v1.0.2 on Windows7/Chrome</p>
  
  <p><strong>Full content of my design document (real values shown, not example.com)</strong></p>
  
  <pre><code>{
    "_id":"_design/locations",
    "_rev":"1-0f7fbdd2f5b4213591e171b6e546af3a",
    "language":"javascript",
    "views": {
      "locations": {
        "map":"function(doc) {\n  emit(doc.type === \"location\" &amp;&amp; doc.name);\n}"
      }
    }
  }
  </code></pre>