backends: set correct error if missed backend_id