Folders and Assets contained errorneous references to Usergrid.Error. Changed to UsergridError.