S3 backup to DO Spaces - email warning but backups correctly copied

I configured the S3 backup using Digital Ocean Spaces. The backup process is working correclty but I receive a failed backup warning via email at every back up. It is just annoying since the backups have been copied.

I understand the integration have been created for S3 but do you have any suggestion how to solve the failed backup warning?

Backup Upload Failed!
Oops, your automated backup to Amazon S3 failed.

Error message: Traceback (most recent call last): File "/home/cyberd3vil/frappe-bench/apps/frappe/frappe/integrations/doctype/s3_backup_settings/s3_backup_settings.py", line 84, in take_backups_s3 backup_to_s3() File "/home/cyberd3vil/frappe-bench/apps/frappe/frappe/integrations/doctype/s3_backup_settings/s3_backup_settings.py", line 141, in backup_to_s3 delete_old_backups(doc.backup_limit, bucket) File "/home/cyberd3vil/frappe-bench/apps/frappe/frappe/integrations/doctype/s3_backup_settings/s3_backup_settings.py", line 169, in delete_old_backups for obj in objects.get('CommonPrefixes'): TypeError: 'NoneType' object is not iterable
erpnext 12.13.0
frappe 12.11.0

I have the same issue with DO Spaces - files are uploaded but getting warning email. Could this be because we are using DO Spaces? Is S3 users getting the same error on email?

erpnext v12.14.0
frappe v12.12.0