Start a new topic

Can't reach a file

We are currently using your services and faced the issue when we are not able to download a file from the storage.

We are able to see the file as within our app so within console, but once we try to reach it we get the following error:



![](http://clip2net.com/clip/m103094/6b90b-clip-3kb.png?nocache=1 "")





Any other file can be downloaded without any problems.

I can provide more details by request.

Just to make sure we are both on the same page.

1. Can you view the file in the console? (which version, we have beta.kinvey.com and console.kinvey.com at the moment)

2. Can you view the file in your app?



It's also possible the link you are trying to use to access the file has expired, this happens when a file is not set as public. We will serve a link that has a limited time to live, and if you take that link and use it within your app it will expire and show an error.
Hello Ryan,

thank you for your reply.



We are able to view the list of files on console.kinvey.com and on beta.kinvey.com. Since files have our own filename extension, they can't be viewed, they can be just downloaded.

Individual files downloading works ok for smaller file sizes, for example for the file of 78 mb size or less.



But the problem was detected when we tried to download individual file that is nearly 300Mb size and larger.



When we use console.kinvey.com to view (in our case download) files we get error 'ERR_INVALID_RESPONSE'



When we use beta.kinvey.com to view (in our case download) files we get the following error

![](https://c3409409.ssl.cf0.rackcdn.com/kinvey.vanillaforums.com/editor/fm/gykenbdpg74e.png "")



Our iOS app users are also not able to view (in our case download) big files inside the app and get 'Request failed: not found (404)' error.
Does anybody know how to solve my problem?

Please help.
It sounds like it may be a timeout issue since you are only having trouble with large files. I've seen some similar issues in the past-- let me see what I can find about resolving that issue.



To confirm: you are also unable to download the large files in the Beta Console?
> @Caroline said:

> It sounds like it may be a timeout issue since you are only having trouble with large files. I've seen some similar issues in the past-- let me see what I can find about resolving that issue.

>

> To confirm: you are also unable to download the large files in the Beta Console?



Caroline, I am unable to download large files in the Beta Console. Waiting for your reply. Thanks.
Hi there! I've looked into this more, and I'm starting to believe that perhaps the large file has not actually uploaded correctly. I'll explain:



When you upload a file through Kinvey, two things happen-- first, a record is inserted into Mongo, and second, the file is uploaded into GCS. The first will happen even if the file hasn't actually been uploaded into GCS, and what the console shows is actually the records from the database. It's only when you click the file to download that it tries to fetch it from GCS.



So our current guess is that you are seeing all files, because the first step is always succeeding. But, the uploads are actually failing -- for some unknown reason. So, for large files, so when you try and download them you get a GCS error.
Login or Signup to post a comment