I have a code : function request() { var req = opensocial.newDataRequest();
key = "k1"; text = "asdasd"; req.add(req.newUpdatePersonAppDataRequest (opensocial.DataRequest.PersonId.VIEWER, key, text), "set_data"); req.send(set_callback); }; When I try to save data from OWNER account, data is saved ok. When i save data from VIEWER account, script returns "[{"error": {"message":"badRequest: Invalid Request was rejected.","code":400}}]". Please help me to determine what I am doing wrong. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" group. To post to this group, send email to opensocial-api@googlegroups.com To unsubscribe from this group, send email to opensocial-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~----------~----~----~----~------~----~------~--~---