Push notifications via API: user does not exist error

I tried to use the 'i/pushes/validate', 'i/pushes/prepare', 'i/pushes/create' countly API to send push notifications. But the error message all of them are throwing is: {"result":"User does not exist"}

I doubled checked all the query parameters and they look fine. What does this error mean?

In general, is there an example in the documentation that shows the sequence of steps involved?




1 comment
  • subba:

    User does not exist

    This usually means that for API key you provided, there is no user found, that has this api key. Make sure you use API key and not APP key. You need the one in user menu, not in Management -> Applications

    Comment actions Permalink

Please sign in to leave a comment.