We are trying to use the file download functionality as per the documentation. I am getting the error displayed in the attached screenshot. Please let me know what I am doing wrong?
This error message, if accurate, has made its way all the way to the file store and is not finding the file that you stored previously. I have a couple of questions.
Can you verify that the meta-data for that file is actually in the Kinvey file store collection. This will help us rule out whether it was a problem with the meta-data getting to Kinvey or the file getting to the file store.
The second thing is to check the code regarding your uploading of the file in the first place. so I have these questions.
How large is the file that you uploaded?
What is the network connectivity between the uploader and Kinvey?
How long do you expect the original file to take to upload and how long did it actually take to complete the upload?
Can you check your upload code for the handling of errors. It is common that users to not put adequate error handling within the upload code and the Meta-Data makes it into the Kinvey collection but during the upload process, if the network has a glitch or some other error happens and the upload fails and the error is not caught and handled correctly and so the meta data remains in the Kinvey file collection but there is no corresponding file in the file store and you will receive the error that you included in the screenshot.
I look forward to hearing back from you.
This is a compile error we are getting. We haven't been able to run the code yet. We have use the example code as per http://devcenter.kinvey.com/ios-v3.0/guides/files, but cannot get the code to compile.
I didn't realize it was failing at compile time. My mistake. We'll look into this with an iOS specialists this evening.
We'll take a look at this and get back with you shortly.