Why are my $ionicUsers blank?

Hi, I am able to send push notifications successfully to a device. However, I am trying to get a list of users registered with my account using the http://apps.ionic.io/api/v1/app/APP_ID/users/info endpoint. I am sending a api request successfully, but for some reason it is resulting in no results. Any ideas?

Thanks

code? how are you setting up the user information

1 Like

var identifyUser = function() {
var auth = fb.getAuth();
var user = $ionicUser.get();
if (!user.user_id) {
user.user_id = auth.uid;
}
angular.extend(user, {
uid: auth.uid
});

    $ionicUser.identify(user).then(function() {
        $scope.identified = true;
    });
};

I know this part is correct because I am seeing users on the users list page: “https://apps.ionic.io/app/b323c695/users/list”. My api response is “{
app_id: “”,
user_id: “”,
image: “https://ionic-apps.s3.amazonaws.com/img/users/users-default-avatar@2x.png
}”

for some strange reason.

hey Aaron – any ideas? still not getting anything