{"action":"opened","issue":{"url":"https://api.github.com/repos/begriffs/postgrest/issues/481","labels_url":"https://api.github.com/repos/begriffs/postgrest/issues/481/labels{/name}","comments_url":"https://api.github.com/repos/begriffs/postgrest/issues/481/comments","events_url":"https://api.github.com/repos/begriffs/postgrest/issues/481/events","html_url":"https://github.com/begriffs/postgrest/issues/481","id":130336142,"number":481,"title":"Error received on GET request to stored procedure complains about a missing table","user":{"login":"eric-brechemier","id":151276,"avatar_url":"https://avatars.githubusercontent.com/u/151276?v=3","gravatar_id":"","url":"https://api.github.com/users/eric-brechemier","html_url":"https://github.com/eric-brechemier","followers_url":"https://api.github.com/users/eric-brechemier/followers","following_url":"https://api.github.com/users/eric-brechemier/following{/other_user}","gists_url":"https://api.github.com/users/eric-brechemier/gists{/gist_id}","starred_url":"https://api.github.com/users/eric-brechemier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eric-brechemier/subscriptions","organizations_url":"https://api.github.com/users/eric-brechemier/orgs","repos_url":"https://api.github.com/users/eric-brechemier/repos","events_url":"https://api.github.com/users/eric-brechemier/events{/privacy}","received_events_url":"https://api.github.com/users/eric-brechemier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-01T11:25:37Z","updated_at":"2016-02-01T11:25:37Z","closed_at":null,"body":"When sending a request using `GET` instead of `POST` to a stored procedure published as `/rpc/stored_procedure`, the error message is confusing:\r\n\r\n- it should mention the error in the HTTP method used\r\n- it complains that no table/view with given name is found instead\r\n\r\nExample error message in French:\r\n\r\n```\r\n{\"hint\":null,\"details\":null,\"code\":\"42P01\",\"message\":\"la relation « schema.stored_procedure » n'existe pas\"}\r\n```"}}