bugfix #410: Graph REST API returns "400:Bad request" instead of "404:Not found"