`moto` made a backwards incompatible change. I dealt with this one recently here as well: - https://github.com/simonw/textract-cli/issues/1#issuecomment-2027578406