Hi, all. I just tried the new Cloudflare R2 backup and received an error from the upload:
Source: components/backup/manager.py:585
integration: Backup (documentation, issues)
First occurred: 2:47:12 PM (1 occurrence)
Last logged: 2:47:12 PM
Unexpected error for cloudflare_r2.01KGQZFC295HF5XDVA3RPT1T1W: An error occurred (InvalidPart) when calling the CompleteMultipartUpload operation: All non-trailing parts must have the same length.
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/backup/manager.py", line 585, in upload_backup_to_agent
await self.backup_agents[agent_id].async_upload_backup(
...<2 lines>...
)
File "/usr/src/homeassistant/homeassistant/components/cloudflare_r2/backup.py", line 145, in async_upload_backup
await self._upload_multipart(tar_filename, open_stream)
File "/usr/src/homeassistant/homeassistant/components/cloudflare_r2/backup.py", line 240, in _upload_multipart
await self._client.complete_multipart_upload(
...<4 lines>...
)
File "/usr/local/lib/python3.13/site-packages/aiobotocore/client.py", line 412, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InvalidPart) when calling the CompleteMultipartUpload operation: All non-trailing parts must have the same length.```
I wasn't sure about the Endpoint URL; I copy/paste the URL from Cloudflare without looking at the example in the config box first. It pasted without a trailing /.
To test if this was the cause I deleted the integration, readded it, put in the URL with a trailing / (this IS how the example was formatted), saved, removed the old Cloudflare R2 integration, enabled R2 as a destination, and tried again. It still failed
Attached are screen caps of my config and of the files in my R2 bucket.