How to fix botocore.exceptions.WaiterError: Waiter encountered a terminal failure state in Python | DevErrors