title: How to stop consumers from hitting invalid resources in APIGee API
body: <p>I have an Apigee proxy that has two resources (<code>/resource1</code> and <code>/resource2</code>). If tried to access <code>/resource3</code>. How do I return a 404 error instead of the Apigee default fault?</p>
  
  <p>Apigee displays the below fault string:</p>
  
  <pre><code>{
      "fault": {
          "faultstring": "The Service is temporarily unavailable",
          "detail": {
              "errorcode": "messaging.adaptors.http.flow.ServiceUnavailable"
          }
      }
  }
  </code></pre>
  
  <p>Thanks</p>