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