codesandbox / codesandbox-client

An online IDE for rapid web development
https://codesandbox.io
Other
13.12k stars 2.29k forks source link

Unable to write file 'vscode-remote://zy3cpv/nodebox/video.av1.mp4' (Error: (422) You have exceeded your maximum storage space of 50MB.) #8594

Open danieldanielecki opened 2 months ago

danieldanielecki commented 2 months ago

🐛 bug report

Preflight Checklist

Description of the problem

Screenshot 2024-09-03 at 12 11 52

How has this issue affected you? What are you trying to accomplish?

To Reproduce

Try to upload the video file to https://codesandbox.io/p/sandbox/086-video-optimization-688yvn.

https://github.com/user-attachments/assets/3081760e-9dde-4cb8-a63f-bf6a78937799

Link to sandbox: link (optional)

Your Environment

Software Name/Version
Сodesandbox latest
Browser Chrome (most likely any)
Operating System Mac (most likely any)
danieldanielecki commented 2 months ago

Do I need to upgrade? https://codesandbox.io/pricing doesn't mention anything about storage regarding this number. It says Storage The maximum amount of storage space available per VM. 20 GB.

danieldanielecki commented 2 months ago

My workspace https://codesandbox.io/dashboard/sandboxes/Awesome%20HTML%20Book/examples?workspace=cf9c93ff-4a87-4a53-b3f7-73d6b8fc1818

I'm creating everything in public, and can't find anything about quota of 50 MB, in fact I have used 0 credits.. Screenshot 2024-09-03 at 19 23 30

danieldanielecki commented 2 months ago

one more CodeSandbox: https://codesandbox.io/p/sandbox/094-image-alt-attribute-fgcs54

danieldanielecki commented 2 months ago

& one more https://codesandbox.io/p/sandbox/087-audio-optimization-zy3cpv

danieldanielecki commented 2 months ago

It looks like a bug, because I can easily fork from already existing CodeSandbox, and somehow there's no error storage. https://codesandbox.io/p/sandbox/100-multimedia-integration-zlskc5 created from already mentioned https://codesandbox.io/p/sandbox/086-video-optimization-688yvn

duchu-net commented 2 months ago

Same here https://codesandbox.io/p/sandbox/1c8gs - I deleted thumb to reduce it size, now can't upload it xD similar error, but with 50mb limit - its per sandbox, or account? Deleted unused files, also images from sandbox - no results, deleted unused sandbox - same. I can't found any info what take that storage.

[edit] Ok, resolved, I found it under Avatar menu in dashboard, seems that in my case one of node sb write cache files to storage...

filipelima18 commented 1 month ago

Hi @danieldanielecki. Thanks for reporting this. We have some outdated information on the Docs about storage limits, which are vastly different for Sandboxes and Devboxes. We're merging a PR to the Docs soon with an update. Find below the up-to-date information:

For Sandboxes, the limits are:

For Devboxes and repositories, the limits are:

danieldanielecki commented 1 month ago

Hi @danieldanielecki. Thanks for reporting this. We have some outdated information on the Docs about storage limits, which are vastly different for Sandboxes and Devboxes. We're merging a PR to the Docs soon with an update. Find below the up-to-date information:

For Sandboxes, the limits are:

  • 50 MB total storage per user with a Free account.
  • 1000 MB total storage per user with a Pro account.

For Devboxes and repositories, the limits are:

  • 20 GB total storage per Devbox or repository branch for workspaces on a Free plan.
  • 50 GB total storage per Devbox or repository branch for workspaces on a Pro plan.

@filipelima18 thanks a million! I'll soon update to PRO and give feedback if it works :)

making a note of next CodeSandbox: https://codesandbox.io/p/sandbox/114-audio-and-video-api-zzyzjg

danieldanielecki commented 1 month ago

Pay attention to the bug though: while making a fork, the size limit can be skipped.

danieldanielecki commented 1 month ago

now I can see the Storage part in my profile :)

Screenshot 2024-10-12 at 11 05 02 Screenshot 2024-10-12 at 11 05 10

danieldanielecki commented 1 month ago

and with the Pro now :)

Screenshot 2024-10-12 at 11 15 37

danieldanielecki commented 1 month ago

after uploading missing files to mentioned earlier CodeSandboxes!

Screenshot 2024-10-12 at 11 33 00

issue can be closed, preferably when the docs/pricing will update that info ;-) I'm keeping it open, when the docs change will be there please close for me & thank you!