Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Cannot Save in Parse

I'm having a problem with saving my object to the parse cloud. I have the following code (inside didSelectCell...)

PFObject *likeKey = self.objects[indexPath.row];
[likeKey objectForKey:@"Reported"];
[likeKey incrementKey:@"Reported"];
[likeKey saveInBackground];

I'm not sure what's wrong with it, but when I save it, I'm give the following error.

Error: object not found for update (Code: 101, Version: 1.2.19)

I'm really stumped by this one. Thoughts? Stone Preston

1 Answer

Amit Bijlani
STAFF
Amit Bijlani
Treehouse Guest Teacher

This looks like an error specific to Parse so I'm not sure what is going on here. Check out these posts: http://stackoverflow.com/search?q=%5Bparse.com%5D+Code%3A+101