return 404 when not existing tree id is given