I am using XE7. Sometimes when trying to retrieve information from the Kinvey Data Store I get a "REST request failed" message. Sometimes it says "timed out" and sometimes it says "closed gracefully". I have even had a Socket Error #107 and I have no idea what that is. And, when I try again a few seconds later all is well. I know I am connected to the Internet with high speed access at the time. Since this request is done through XE7 and usually works is this just something I need to constantly check for? I know very little about this so was hoping someone could shed some light on the issue for me. Thanks.
Thanks Sarina. I am just using the basic Kinvey XE7 components but since I am new at this I will go over the examples you mention above again. If I continue to have this issue I will see if I can track it down specifically.
You're welcome. If you are adding data from your XE7 app to the cloud, you will need to use the TBackendStorage component. If you are pulling down data you added to the cloud via the BaaS web interface, you will want to use TBackendQuery.
where LFile is a TBackendEntityValue and LStream is a TMemoryStream. Note that the file I am uploading is quite small.
From time to time, I am receiving a message saying the REST request timed out. Can you tell me how I can stop this message from showing up as it isn't particularly user friendly. I have a try-except clause around the UploadFile but it apparently doesn't get to that point.