The last 3 books I’ve purchased from Amazon (UK) have been of questionable quality. The most recent was Designing Data–Intensive Applications (O’Reilly) and I’m still not sure if it’s print on demand, counterfeit- or just a reject. Roller marks, damaged pages, slightly off print. The returns process is inconvenient, one-offs are okay but on multiple purchases it’s fatiguing and so the book stays.
This isn’t specific to Amazon, I had the same issue with Waterstones in the UK (online)
I now just buy second hand (Abe, WOB) and hope for the best.