uploadcare / uploadcare-swift

Swift API client for iOS, iPadOS, tvOS, macOS, and Linux handles uploads and further operations with files by wrapping Uploadcare Upload and REST APIs.
https://uploadcare.com/
MIT License
12 stars 6 forks source link

Upload method enters ".failure" case when uploading larger files #105

Closed GlennKeller closed 2 years ago

GlennKeller commented 2 years ago

Describe the bug

Uploading a video file longer than 10 seconds always enters the “.failure" case - even though the file is successfully being uploaded to Uploadcare.

The error message is "unknown"

Expected behavior

Enter the ".success" case after successfully being uploaded to Uploadcare.

Code / Screenshot

Screenshot 2022-11-22 at 14 45 34

Environment

makoni commented 2 years ago

Hi @GlennKeller

Thanks for the report. That bug should be fixed now in https://github.com/uploadcare/uploadcare-swift/pull/106 . A new release will be available soon after PR will be reviewed and merged. I'll tag you when it will be published.

GlennKeller commented 2 years ago

Thanks @makoni!

makoni commented 2 years ago

@GlennKeller new release is ready: https://github.com/uploadcare/uploadcare-swift/releases/tag/0.9.1

Thanks again for the report!