Error: a layer with the ID 2 does not exist!