Push notifications via API: user does not exist error


#1

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?

Thanks,
subba


#2

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