<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Nov 26, 2013 at 9:41 AM, Aaron Rosen <span dir="ltr"><<a href="mailto:aaronorosen@gmail.com" target="_blank">aaronorosen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div class="im">On Mon, Nov 25, 2013 at 6:00 PM, Christopher Yeoh <span dir="ltr"><<a href="mailto:cbkyeoh@gmail.com" target="_blank">cbkyeoh@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>On Tue, Nov 26, 2013 at 7:27 AM, Matt Riedemann <span dir="ltr"><<a href="mailto:mriedem@linux.vnet.ibm.com" target="_blank">mriedem@linux.vnet.ibm.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Aaron Rosen is working a patch [1] to handle a NetworkNotFound exception in the server create API.  For the V2 API this will return a 400 error.  For the V3 API this will return a 404 because of a V3-specific patch [2].  The API docs list 404 as a valid response code, but is it intuitive for a POST request like this?<br>



<br></blockquote><div><br></div></div><div>Yea I think in this case we've just got this wrong for the V3 API here. It's validating a parameter, and although the client (glance/neutron etc) may return a 404 to us, we should be returning a 400 (with a decent message) to our client.<br>

</div></div></div></div></blockquote><div><br></div></div><div>I agree, I think 400 makes more sense than 404.  I'll go a head and make this change for the v3 API's as well. </div></div></div></div></blockquote><div>
<br><br></div><div>Thanks for doing this!<br><br>Chris<br></div><div> <br></div></div></div></div>