Skip to content

Improve Reel upload failure errors#2576

Merged
subzeroid merged 1 commit into
masterfrom
fix-clip-upload-error-2575
May 31, 2026
Merged

Improve Reel upload failure errors#2576
subzeroid merged 1 commit into
masterfrom
fix-clip-upload-error-2575

Conversation

@subzeroid
Copy link
Copy Markdown
Owner

Summary

  • preserve the actual direct upload response when Reel upload setup or rupload steps fail
  • include the failing upload stage, HTTP status, parsed JSON body, and response text on ClipNotUpload
  • add regression coverage for the previous response=None error and live coverage for both the failure path and a successful Reel read-back

Fixes #2575

Tests

  • .venv/bin/python -m pytest tests/regression/test_upload.py::UploadRegressionTestCase::test_clip_upload_preserves_direct_upload_failure_response -q
  • .venv/bin/python -m pytest tests/regression/test_upload.py tests/regression/test_video_metadata.py -q
  • .venv/bin/python -m pytest tests/regression -q
  • .venv/bin/python -m ruff check instagrapi/mixins/clip.py tests/regression/test_upload.py tests/live/test_upload.py
  • .venv/bin/python -m ruff format --check instagrapi/mixins/clip.py tests/regression/test_upload.py tests/live/test_upload.py
  • live: tests/live/test_upload.py::ClienUploadTestCase::test_clip_upload_direct_failure_reports_response_live
  • live: tests/live/test_upload.py::ClienUploadTestCase::test_clip_upload

@subzeroid subzeroid merged commit 66e7c44 into master May 31, 2026
11 checks passed
@subzeroid subzeroid deleted the fix-clip-upload-error-2575 branch May 31, 2026 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Unsuccessful Reel Upload

1 participant