Android Question Parse.com relation

brelto85

Active Member
Licensed User
Longtime User
How to put the relation value using Parse library?
if i use

Code: Copy
po.Put("userId", "1234")

where userId is a column relation, return this error:

com.parse.ParseException: invalid type for key userId, expected relation<Users>, but got string

how to do this?
 
if po is a map and userID is the correct key (check capitals) then it should work.

I've tryed to use a map with a worng key, and the error I got was different. Are you sure the problem is on this line ?

Can you show the code that handles the parse ?
 
Upvote 0
Back
Top