Skip to content

🐛 Bug Report: metadata error uploading large file #7439

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 tasks done
LatterDev opened this issue Jan 12, 2024 · 2 comments · Fixed by #8452
Closed
2 tasks done

🐛 Bug Report: metadata error uploading large file #7439

LatterDev opened this issue Jan 12, 2024 · 2 comments · Fixed by #8452
Assignees
Labels
bug Something isn't working product / storage Fixes and upgrades for the Appwrite Storage.

Comments

@LatterDev
Copy link

👟 Reproduction steps

Open the console and upload a large (1GB+) zip file from the storage tab.

👍 Expected behavior

File would successfully upload.

👎 Actual Behavior

File stopped downloading at 45% and an error message would display stating "Invalid document structure: Attribute "metadata" has invalid type. Value must be a valid string
appwriteerror1
appwriteerror2
appwriteerror3
"

🎲 Appwrite version

Version 1.4.x

💻 Operating system

Linux

🧱 Your Environment

Appwrite is self hosted on digital ocean using digital ocean spaces as 3rd party storage.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@LatterDev LatterDev added the bug Something isn't working label Jan 12, 2024
@stnguyen90 stnguyen90 transferred this issue from appwrite/console Jan 12, 2024
@stnguyen90 stnguyen90 changed the title 🐛 Bug Report: 🐛 Bug Report: metadata error uploading large file Jan 12, 2024
@stnguyen90
Copy link
Contributor

@LatterDev, thanks for creating this issue! 🙏 Looks like the problem is the metadata is too large for such a big file:

https://github.com/utopia-php/storage/blob/faa0279519ac14f3501e8b138e0865ad9d12bff6/src/Storage/Device/S3.php#L260

We probably need to increase the size of the metadata attribute.

@stnguyen90
Copy link
Contributor

@stnguyen90 stnguyen90 added the product / storage Fixes and upgrades for the Appwrite Storage. label Jan 12, 2024
@stnguyen90 stnguyen90 moved this to Todo in 1.5 release Apr 24, 2024
@stnguyen90 stnguyen90 removed this from 1.5 release Aug 6, 2024
@stnguyen90 stnguyen90 assigned byawitz and unassigned christyjacob4 Aug 6, 2024
@stnguyen90 stnguyen90 moved this to Code Review in 1.6 Release Aug 6, 2024
@stnguyen90 stnguyen90 linked a pull request Aug 12, 2024 that will close this issue
2 tasks
@github-project-automation github-project-automation bot moved this from Code Review to Done in 1.6 Release Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working product / storage Fixes and upgrades for the Appwrite Storage.
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

5 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy