If you have title path enabled and request an URL that is not found in the site you normally get a 404 error.
If you are in a content manager session (content manager is open in another window) you may get a 500 error instead caused by e null-pointer-exception in OpenWGA. this now has been corrected.