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 Build a Self-Destructing Message iPhone App Relating Users in Parse.com Adding Friends by Tapping on a Table View Cell

Ilari Pajula
Ilari Pajula
342 Points

I get an error 105 in my log when I try to save the friendsRelation to Parse, code is correct. Im stuck help me.

"2015-12-20 18:42:41.415 Ribbit[2227:1030209] [Error]: invalid field name: Friends Relation (Code: 105, Version: 1.10.0) 2015-12-20 18:42:41.532 Ribbit[2227:1028884] Error Error Domain=Parse Code=105 "invalid field name: Friends Relation" UserInfo=0x1742e3100 {code=105, temporary=0, error=invalid field name: Friends Relation, NSLocalizedDescription=invalid field name: Friends Relation} { NSLocalizedDescription = "invalid field name: Friends Relation"; code = 105; error = "invalid field name: Friends Relation"; temporary = 0; }"

Is what is printed into the log when I try to save the relation to Parse, I checked that my code is completely correct and identical to Ben's. I even made sure that "relationforKey" is the updated "relationForKey". But it still doesn't work. Ive been stuck on this for a while now and it would be great if I got some help :)

Ryan Jin
Ryan Jin
15,337 Points

I am not sure the direct cause of this, but I do want to point out that Parse had already shut down its hosting service. If you go on Parse right now, it might tell you to migrate your app to the MongoDB. For more information, see this link: Migrating an Existing Parse App

2 Answers

Ilari, here is a full template for the social network application: Click Here.

Ryan Jin
Ryan Jin
15,337 Points

Also. I checked the doc. It seems that you have an invalid key name. Check this page of documentation out. https://parse.com/docs/dotnet/api/html/T_Parse_ParseException_ErrorCode.htm

Also. I think that Parse might be no longer using keys, because in my new parse project I created a few days ago, I didn't tell me the key in the downloads page. I am not sure about why that happened, but it is certain worth to know that Parse has also made some changes.