Start a new topic

iOS Error When Fetching Objects in Collection

I am using Datastore.find() to find all objects in a collection. Everything was working fine through multiple tests, and then all of a sudden, it wasn't finding any objects in any test runs. I printed to the console the error code and localized description which are "1" and "The operation couldn’t be completed. (Kinvey.Error error 1.)" respectively. What error is this, why is it happening, and how can I fix it? Thanks.


note: I am using iOS Beta 3.0

Ryan,

  1. Have you added any Pre/Post fetch hooks for the collection that you are querying and then you started seeing this behaviour?
  2. What is the KID of your environment?
  3. Also let me know the collection name in question and relevant code that is being used?

Thanks,
Pranav
Kinvey Support

 

Login or Signup to post a comment