
Hi!
Using https://github.com/appwrite/sdk-for-apple to upload images to Storage, it does not upload images larger than ~2mb.
Error message: Invalid document structure: Attribute "chunksTotal" has invalid type. Value must be a valid range between 0 and 2,147,483,647
Code:
let media = try await storage
.createFile(
bucketId: "xxx",
fileId: ID.unique(),
file: InputFile.fromData(
targetImage!.jpegData(
compressionQuality: 1.0)!,
filename: "example.jpg",
mimeType: "image/jpeg")
)
Expected behavior
Successfully uploading larger images to storage.
Actual Behavior
It actually throws an error "Invalid document structure: Attribute "chunksTotal" has invalid type. Value must be a valid range between 0 and 2,147,483,647" and keeps corrupted files in bucket (with status pending).
Appwrite version
Version 1.6.x
Operating system
Linux
Your Environment
SDK: https://github.com/appwrite/sdk-for-apple - latest version Language: Swift
Recommended threads
- Error Generation of certification for cu...
Hi, I tried to connect a custom domain, this worked but creating the certification afterwards fails with the following error: ```txt Failed to create TLS subsc...
- Where is tensorflow support? 3.11 ML doe...
and if i manually tried to add tensorflow i get Cannot access offset of type string on string no matter what
- OAuth2 Error: invalid success param url ...
Hi everyone! I'm trying to implement Google OAuth2 login in a React Native app (using the Android simulator) with Appwrite Cloud, and I'm getting the following ...
