KDP rejected my file: margins too small. The exact numbers.
What KDP is telling you
The inside margin (next to the spine) grows with the page count. KDP's minimum inside margin: 24 to 150 pages 0.375 in; 151 to 300 pages 0.5 in; 301 to 500 pages 0.625 in; 501 to 700 pages 0.75 in; 701 to 828 pages 0.875 in. Outside, top and bottom: at least 0.25 in (0.375 in with bleed).
Want to see if your own file has this problem? Check my file free. No card, no sign-in, about a minute.
How to fix it
Word: Layout > Margins > Custom. Set Multiple pages to "Mirror margins" and put the extra space in Gutter. Google Docs: it has no mirrored margins, so it cannot add extra space on the inside edge only. Setting all four margins to the larger inside value (for a 200-page book, 0.5 in) works but changes your page count and line breaks, so check your layout afterwards. Or download the file as .docx and open it in Word to use Mirror margins.

More: use at least 0.5 in outside if you can; text too close to the edge also reads badly.
Made with software. Not approved by KDP: this is a checker, not KDP's own approval, and only KDP's upload check decides. KDP's rules change, so check the KDP help page linked above.