All Files and Images suddenly stop working for an App

We have an app that has 20,295 files in its default app folder. Suddenly all those images and files are giving a 500 Error Code or not displaying any images. I believe the issue would have to do with the number of files in the folder but cannot find anything relating to limits based on this. I have sent this to support@appsheet.com. In the meantime, I was wondering if anyone else had any similar issues or if any has more than 20k files and everything is working fine?

Due to previous experiences, I struggle internal in deciding to attempt to fix this myself. Whenever we solve issues ourselves the response 9 times out of 10 is we’ll monitor and notify us if it happens again. We have an issue with caching that files are not there (even though all caching options are disabled) for the past 5-6 months and have had no avail with getting that even attempted to be resolved because the response is just open in incognito. If that issue wasn’t contained to the Super User of the system, we would definitely start looking at different solutions for our needs.

2 Likes

I have found this is happening across 5 apps and not on 1 of my apps.

2 Likes

I’ve never had an app with so many files, though a current client has the potential to get there.

This sounds to me like it might be a Google Account limit - you should reach out to Google support and see if you’re reaching some sort of invisible limit.

The client referenced above had a limit problem- they had over 100 users accessing their app in less than 100 seconds, a limit we were unaware of.

2 Likes

We now believe it is something else as it is affecting all apps that use a shared drive instead of a my drive.

1 Like

Hmm… perhaps permissions were revoked on accident to a shared folder?

2 Likes

Our current theory is that the setting to restrict shared drive files to only those within our organization might be the culprit. Our IT department has yet to return our email on whether or not they recently changed this setting. If that is the problem then we have another problem. We would definitely want that to be the case since we have sensitive documents on the shared drives that are not appsheet related.

2 Likes

How is the app serving the images and files? Direct public URL? Or proxied through AppSheet with gettablefileurl?

1 Like

gettablefileurl??? I just make an image or file column and have a file path that’s relative to the default folder for the app.

If you run the app in a browser, what is the URL the browser gets for an affected image?

1 Like

https://www.appsheet.com/get/?i=(a few hundred random characters)=

1 Like

Maybe you need to toggle this? I’m guessing, here.

1 Like

This is our security settings although we have apps that have require signing enabled and disabled and both dont work.

1 Like

Are you using a spreadsheet as a data backend? If yes, is it located on the same shared drive?

1 Like

No a mysql database but our files are stored on gdrive

1 Like

Does the app owner account have access to the shared drive?7

1 Like

Yes, this is also across 2 accounts one of which is a gsuite admin.

1 Like

I like @MultiTech_Visions’ idea that you’re hitting a gDrive limit. I suspect this isn’t an AppSheet problem (though AppSheet may be doing a poor job of handling the gDrive failure).

1 Like

But if we change a file through appsheet we can see that file.

1 Like

I’m not clear how the problem surfaces, then. You said in the original post, “all those images and files are giving a 500 Error Code or not displaying”, but now, “if we change a file through appsheet we can see that file”. Can you clarify when the error occurs versus when it does not?

1 Like

The error occurs on any file that is currently in our apps. Most of our files do not getting added to their folder through appsheet. In the couple of cases we have that they do, they are not added in the app that they are accessed through. Example: we have an app where stores take a picture of a delivery invoice. The app where they take that picture has no access to the images after they are taken. We had an admin app where someone in accounting can view these images. They do not show up in that app but if I edit an entry in the admin version and add a new image it will show up and continue to show up in the admin app.

1 Like