Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6776209
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:00:01+00:00 2026-05-26T16:00:01+00:00

Given the following console output, why is my Core Data save failing? It seems

  • 0

Given the following console output, why is my Core Data save failing?
It seems that the biz entity is empty. I have 20 “biz” entities, and only 1 is most likely empty. Why does the whole save fail?

Why doesn’t Core Data just save all that works and ignore the empty entity? Instead, it returns Error in saving Error in Saving Error Domain=NSCocoaErrorDomain Code=1570.

Here’s my console log:

2011-11-08 11:37:49.059 BadgerNew[3808:4503] <0x38a520 GrabClass.m:(509)> Biz to save <Business: 0x32e2550> (entity: Business; id: 0x32b7dd0 <x-coredata:///Business/t069264E3-D89C-4D4A-92D9-8A190B7CF255489> ; data: {
    Bookmark = 0;
    Building = nil;
    City = "0x32f06e0 <x-coredata:///City/t069264E3-D89C-4D4A-92D9-8A190B7CF255396>";
    Distance = "484.0799568283629";
    Districts =     (
        "0x326b7a0 <x-coredata:///District/t069264E3-D89C-4D4A-92D9-8A190B7CF255398>"
    );
    Email = nil;
    ID = 22302;
    Images =     (
        "0x32df100 <x-coredata:///Image/t069264E3-D89C-4D4A-92D9-8A190B7CF255494>"
    );
    InBuildingAddress = "Blok De Unit 1-2";
    LatitudeLongitude = "0x32755f0 <x-coredata:///LatitudeLongitude/t069264E3-D89C-4D4A-92D9-8A190B7CF255495>";
    Like = 0;
    OpeningHour = nil;
    Phones =     (
        "0x32def60 <x-coredata:///Phone/t069264E3-D89C-4D4A-92D9-8A190B7CF255493>",
        "0x32e2d60 <x-coredata:///Phone/t069264E3-D89C-4D4A-92D9-8A190B7CF255490>",
        "0x32dea90 <x-coredata:///Phone/t069264E3-D89C-4D4A-92D9-8A190B7CF255491>",
        "0x32decb0 <x-coredata:///Phone/t069264E3-D89C-4D4A-92D9-8A190B7CF255492>"
    );
    Price = 0;
    Promotions =     (
    );
    Rating = "0x3275000 <x-coredata:///Rating/t069264E3-D89C-4D4A-92D9-8A190B7CF255496>";
    Reviews =     (
    );
    Street = "Jl. Panjang Kedoya No. 1";
    Tags =     (
    );
    TimeStamp = nil;
    Title = "Bank BNI Graha Elok Mas";
    URLs =     (
    );
    Website = nil;
    Zip = 11520;
    pinAndLineNumber = 0;
})
2011-11-08 11:37:49.095 BadgerNew[3808:4503] <0x427c0 TreadClass.m:(82)> Error in Saving Error Domain=NSCocoaErrorDomain Code=1570 "The operation couldn’t be completed. (Cocoa error 1570.)" UserInfo=0x31fbd0 {NSValidationErrorObject=<Business: 0x328c660> (entity: Business; id: 0x332840 <x-coredata:///Business/t069264E3-D89C-4D4A-92D9-8A190B7CF255441> ; data: {
    Bookmark = 0;
    Building = nil;
    City = nil;
    Distance = "-1";
    Districts =     (
    );
    Email = nil;
    ID = "";
    Images =     (
    );
    InBuildingAddress = nil;
    LatitudeLongitude = nil;
    Like = 0;
    OpeningHour = nil;
    Phones =     (
    );
    Price = 0;
    Promotions =     (
    );
    Rating = nil;
    Reviews =     (
    );
    Street = nil;
    Tags =     (
    );
    TimeStamp = nil;
    Title = nil;
    URLs =     (
    );
    Website = nil;
    Zip = nil;
    pinAndLineNumber = 0;
}), NSValidationErrorKey=Title, NSLocalizedDescription=The operation couldn’t be completed. (Cocoa error 1570.)}
2011-11-08 11:37:51.307 BadgerNew[3808:1403] <0x427c0 TreadClass.m:(82)> Error in Saving Error Domain=NSCocoaErrorDomain Code=1570 "The operation couldn’t be completed. (Cocoa error 1570.)" UserInfo=0x322ca30 {NSValidationErrorObject=<Business: 0x323f510> (entity: Business; id: 0x323f6a0 <x-coredata:///Business/t069264E3-D89C-4D4A-92D9-8A190B7CF25511> ; data: {
    Bookmark = 0;
    Building = nil;
    City = nil;
    Distance = "-1";
    Districts =     (
    );
    Email = nil;
    ID = "";
    Images =     (
    );
    InBuildingAddress = nil;
    LatitudeLongitude = nil;
    Like = 0;
    OpeningHour = nil;
    Phones =     (
    );
    Price = 0;
    Promotions =     (
    );
    Rating = nil;
    Reviews =     (
    );
    Street = nil;
    Tags =     (
    );
    TimeStamp = nil;
    Title = nil;
    URLs =     (
    );
    Website = nil;
    Zip = nil;
    pinAndLineNumber = 0;
}), NSValidationErrorKey=Title, NSLocalizedDescription=The operation couldn’t be completed. (Cocoa error 1570.)}
2011-11-08 11:37:53.284 BadgerNew[3808:1b03] <0x427c0 TreadClass.m:(82)> Error in Saving Error Domain=NSCocoaErrorDomain Code=1570 "The operation couldn’t be completed. (Cocoa error 1570.)" UserInfo=0x3a4c90 {NSValidationErrorObject=<Business: 0x32aee0> (entity: Business; id: 0x300480 <x-coredata:///Business/t069264E3-D89C-4D4A-92D9-8A190B7CF255220> ; data: {
    Bookmark = 0;
    Building = nil;
    City = nil;
    Distance = "-1";
    Districts =     (
    );
    Email = nil;
    ID = "";
    Images =     (
    );
    InBuildingAddress = nil;
    LatitudeLongitude = nil;
    Like = 0;
    OpeningHour = nil;
    Phones =     (
    );
    Price = 0;
    Promotions =     (
    );
    Rating = nil;
    Reviews =     (
    );
    Street = nil;
    Tags =     (
    );
    TimeStamp = nil;
    Title = nil;
    URLs =     (
    );
    Website = nil;
    Zip = nil;
    pinAndLineNumber = 0;
}), NSValidationErrorKey=Title, NSLocalizedDescription=The operation couldn’t be completed. (Cocoa error 1570.)}
2011-11-08 11:37:56.480 BadgerNew[3808:4403] <0x427c0 TreadClass.m:(82)> Error in Saving Error Domain=NSCocoaErrorDomain Code=1570 "The operation couldn’t be completed. (Cocoa error 1570.)" UserInfo=0x3c5e10 {NSValidationErrorObject=<Business: 0x32d4530> (entity: Business; id: 0x3d0240 <x-coredata:///Business/t069264E3-D89C-4D4A-92D9-8A190B7CF255296> ; data: {
    Bookmark = 0;
    Building = nil;
    City = nil;
    Distance = "-1";
    Districts =     (
    );
    Email = nil;
    ID = "";
    Images =     (
    );
    InBuildingAddress = nil;
    LatitudeLongitude = nil;
    Like = 0;
    OpeningHour = nil;
    Phones =     (
    );
    Price = 0;
    Promotions =     (
    );
    Rating = nil;
    Reviews =     (
    );
    Street = nil;
    Tags =     (
    );
    TimeStamp = nil;
    Title = nil;
    URLs =     (
    );
    Website = nil;
    Zip = nil;
    pinAndLineNumber = 0;
}), NSValidationErrorKey=Title, NSLocalizedDescription=The operation couldn’t be completed. (Cocoa error 1570.)}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T16:00:02+00:00Added an answer on May 26, 2026 at 4:00 pm

    This previous answer explains it best. To quote from the accepted answer:

    It means there’s a mandatory property has been assigned nil. Either in
    your *.xcodatamodel check the “optional” box or when you are saving to
    the managedObjectContext make sure that your properties are filled in.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

// given following array: $data = array( 0=>array( data=>object1, col=>array( 0=>array( data=>object2, col=>array( 0=>array(
Given the following example, why do I have to explicitly use the statement b->A::DoSomething()
Given the following code (that doesn't work): while True: # Snip: print out current
Possible Duplicate: Bizarre console.log behaviour in Chrome Developer Tools Given the following script :
Greetings All; I have a desktop java application which gives the following output in
I have been following the guidance given on this other post: Assigning an IronPython
I have to XML (de)serialize the following class: this gives the following output: <ArrayOfPropertyFilter
Given following Ruby statements: (Read input and store each word in array removing spaces
Given the following XML: <current> <login_name>jd</login_name> </current> <people> <person> <first>John</first> <last>Doe</last> <login_name>jd</login_name> </preson> <person>
Given the following: List<List<Option>> optionLists; what would be a quick way to determine the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.