In fact, you did not describe the problem. A master data error is not an error - it is more like a page error in a file system. It just means that the data has not yet been read. What you are describing is completely normal and expected. If you access any of the attributes of the returned objects, the error will be automatically filled in and you will see the results. Therefore, if your Key object has a name attribute, you can still search for values ββfor name and even register them if you want.
You can force the errors by adding this before executing the query for sampling:
[fetchRequest setReturnsObjectsAsFaults:NO]
This is not necessary, although depending on what attributes you have and how many objects you have, you could use a lot more memory than is really necessary.
source share