# File Limit Exceeded

**URL:** <https://forums.losant.com/t/file-limit-exceeded/5150>\
**Category:** Help\
**Tags:** notebooks\
**Created:** [July 14, 2023, 6:11pm UTC](https://forums.losant.com/t/file-limit-exceeded/5150 "2023-07-14T18:11:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paolo\_Proxy](https://avatars.discourse-cdn.com/v4/letter/p/b5ac83/32.png) [@Paolo\_Proxy](https://forums.losant.com/u/Paolo_Proxy)\
**Post date:** [July 14, 2023, 6:11pm UTC](https://forums.losant.com/t/file-limit-exceeded/5150/1 "2023-07-14T18:11:02Z")

</div>

Hi there,  
I am running some notebooks as usual and I am a getting this kind of error:

` **Notebook Output File** : Notebook Directory /aaa/bbbb/stats/june_2023/ file stats.xlsx failed to create or update: File limit exceeded`

The file is just a few Kb and the notebooks works perfectly fine locally.  
This is just happening today.

Cheers.

---

<div class="post-metadata">

**Author:** ![Sebastian\_Turner](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/sebastian_turner/32/4024_2.png) [@Sebastian\_Turner](https://forums.losant.com/u/Sebastian_Turner)\
**Post date:** [July 14, 2023, 6:44pm UTC](https://forums.losant.com/t/file-limit-exceeded/5150/2 "2023-07-14T18:44:13Z")

</div>

Hi @Paolo_Proxy !

This error message indicates that you’ve reached the file limit for your organization. You can view your [organization limits](https://docs.losant.com/organizations/resource-limits/#viewing-current-usage) and usage by going to your organization’s overview page, clicking on Usage, and then clicking on the Resources tab:

 ![organization resources](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/8/8df2cf2b210702cfddb844fcf8a53f688a67cba9.png)

If you have multiple applications in your organization, you can view the resource usage per application on this page as well.

For your account, I’ve increased your file limit by 50%. However, increasing this in the future may not be possible without incurring additional cost. Depending on your use case, you might find it helpful to store some of these files at a third-party, such as [AWS S3](https://docs.losant.com/workflows/data/aws-s3-put/), [Google Cloud](https://docs.losant.com/workflows/data/google-cloud-storage-put/), or an [FTP server](https://docs.losant.com/workflows/data/ftp-put/), all of which are supported natively in our workflow engine.

---

<div class="post-metadata">

**Author:** ![Paolo\_Proxy](https://avatars.discourse-cdn.com/v4/letter/p/b5ac83/32.png) [@Paolo\_Proxy](https://forums.losant.com/u/Paolo_Proxy)\
**Post date:** [July 14, 2023, 11:22pm UTC](https://forums.losant.com/t/file-limit-exceeded/5150/3 "2023-07-14T23:22:51Z")

</div>

Hi,  
so your suggestion is it with my notebooks I will not produce any file outputs but write them directly into my S3 storage for example? I guess I can pass as input the AWS credentials in that case.  
Does the base notebook image contains the boto aws packages for python?  
Cheers!

---

<div class="post-metadata">

**Author:** ![Dylan\_Schuster](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dylan_schuster/32/2850_2.png) [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Post date:** [July 14, 2023, 11:35pm UTC](https://forums.losant.com/t/file-limit-exceeded/5150/4 "2023-07-14T23:35:17Z")

</div>

Not quite; the Losant notebook environment has no access to the outer internet, so writing from the notebook itself to S3 wouldn’t work.

Instead, you could do one of two things …

1. Change your notebook outputs to “Temporary File URL” type. Then, using a [Notebook Trigger](https://docs.losant.com/workflows/triggers/notebook/), you could post the contents of those outputs directly to S3, an FTP server, etc., using each node’s option to put the contents from a URL. Or …
2. Simply remove unused files from your [Application Files](https://docs.losant.com/applications/files/) to free up spots for the new ones you are creating.

I think what @Sebastian_Turner was getting at was, instead of deleting older files, you could move them from Losant to your own third-party storage service so that you could retrieve them in the future if necessary - assuming those files are not being utilized on a regular basis now.
