You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 12, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 12, 2026. It is now read-only.
When I try to upload a photo (.png, .jpeg, .jpg), it fails with the error below. Uploading stuff like a PDF or MP4 worked fine.
2026-09-02 15:00:03.055657+02:00{"timestamp":"2026-09-02T13:00:03.054974+00:00","level":"WARNING","logger":"o2gateway.webdav.router","message":"webdav cloud error","operationId":"op_1a062347db7_ba478780c4","exception":"Traceback (most recent call last):\n File \"/usr/local/lib/python3.12/site-packages/o2gateway/webdav/router.py\", line 70, in handler\n return await _put(settings, store, cloud_path, request, operation_id)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/site-packages/o2gateway/webdav/router.py\", line 225, in _put\n item = await store.upload(cloud_path, tmp_path, overwrite=True)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/site-packages/o2gateway/o2/store.py\", line 160, in upload\n uploaded = await self._upload_with_validation_retry(parent.id, basename(normalized), local_tmp_path, remote_target)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/site-packages/o2gateway/o2/store.py\", line 349, in _upload_with_validation_retry\n return await self._retry_while_not_validated(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/site-packages/o2gateway/o2/store.py\", line 358, in _retry_while_not_validated\n return await operation()\n ^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/site-packages/o2gateway/o2/api.py\", line 318, in upload_file\n _throw_if_o2_error(payload)\n File \"/usr/local/lib/python3.12/site-packages/o2gateway/o2/api.py\", line 1013, in _throw_if_o2_error\n raise CloudError(\"O2 returned error: %s\" % str(error)[:240])\no2gateway.operations.errors.CloudError: O2 returned error: {'code': 'MED-1050', 'message': 'The file extension or the format is not supported.', 'parameters': [], 'cause': ''}"}
Thanks for the report. I reviewed this against the merged fixes. The error here is specifically the provider's MED-1050 ("The file extension or the format is not supported") during upload, while PDF and MP4 uploads work. I have not found a merged PR that specifically establishes a fix for this error, so I am keeping the issue open.
PR #4 fixed Movistar picture listings and Windows WebDAV write sequencing; it does not establish that this image-format rejection is resolved. Likewise, the account-onboarding 405 error discussed in #10 is a different error from the one reported here.
Have you retested with the current stable release v0.1.2? It includes several assisted-login/session fixes (#12, #15, and #22), although those do not by themselves prove this upload issue is fixed. Refresh the image and recreate the container while preserving your configuration, cache, and data volumes.
If it still happens, please provide:
The actual image version/revision, provider (o2 or movistar), host architecture, and WebDAV client.
Whether a newly created, small valid PNG or JPEG fails, or only particular existing photos; include the approximate size and whether this is a new upload or an overwrite.
Whether the same file uploads successfully through the provider's official web interface.
A short redacted gateway log excerpt from the failing attempt, including the provider error code/message. Do not include session keys, cookies, or tokens.
The recent #18, #20, #21, and #23 changes are merged into main but are not yet part of a new published release, so they should not be assumed to be present in latest.
Activity
garanda21 commentedon Oct 10, 2026
Thanks for the report. I reviewed this against the merged fixes. The error here is specifically the provider's
MED-1050("The file extension or the format is not supported") during upload, while PDF and MP4 uploads work. I have not found a merged PR that specifically establishes a fix for this error, so I am keeping the issue open.PR #4 fixed Movistar picture listings and Windows WebDAV write sequencing; it does not establish that this image-format rejection is resolved. Likewise, the account-onboarding 405 error discussed in #10 is a different error from the one reported here.
Have you retested with the current stable release v0.1.2? It includes several assisted-login/session fixes (#12, #15, and #22), although those do not by themselves prove this upload issue is fixed. Refresh the image and recreate the container while preserving your configuration, cache, and data volumes.
If it still happens, please provide:
o2ormovistar), host architecture, and WebDAV client.The recent #18, #20, #21, and #23 changes are merged into main but are not yet part of a new published release, so they should not be assumed to be present in
latest.