17/21 Oops, try again. Looks like there was an error on our end


#1

Why do I get this error and how to fix it?

function viewMyFeed(){
    var client = new Usergrid.Client({
        //Intialize your client with the proper credentials
        orgName:"Raion",
        appName:"sandbox"
    });
    
    //Replace "USERNAME" with the user you want to get a feed for!
    client.getFeedForUser("mdobs", function(error, data, activities){
        for(var i = 0; i < activities.length; i++) {
            var activity = activities[i];
            //Use the .content property on the object to get the content data!
            var content = activity.content;
            $("#response").append("<li>"+content+"</li>");
        }
    });
}