Returns 404 when no resource found