Post your schematic or a good photo.
2k7 and 4k7 should be fine as a voltage divider.
Bodmer uses 1k2 and 1k8.
I would be happy with any voltage divider with a similar division ratio. With total load anywhere between 3k0 and 30k0. e.g. 12k, 18k or 10k, 20k
1M0 is not a realistic value.
The advantage of schematic or (good) photo is that a reader can see everything in one go.
And offer practical advice for a solution.
David.