-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getting an error when sending push to multiple recipientIds #1373
Comments
use 'where'. |
Elaborate plz!!!!!! |
|
Thank you for the previous query....it almost worked...:) |
It has to ways : use ParsePromise, or use querying with array. If you want to use Promise, you will send different message(maybe). This reference use '_' (underscore), parse server is not support. replace for each. |
What is the way of using it with " querying with array"? |
Oops. It's not supported that. Sorry. Using promise is best solution, for now (or for me). |
Okay...thanks .. I ll try to configure it and come back with the problems...:) |
I'm not sure, cause I'm not use channel yet. But using channel is more easier to send people same message. |
ok thanks for helping me out |
Sir i changed this |
logs |
{
} |
The push status never gets updated? |
yes it never gets updated |
can you run with VERBOSE=1? what version of parse-server are you running, since 2.2.5 (released yesterday) we improved the tracking of push errors and reporting |
can u tell in detail how to do that |
update or set an environment variable? for the update, just run |
can u please provide me an example link i am not gettign what are u saying |
i have updated it but it does not change anything |
can you please provide the logs when running with VERBOSE=1? |
i ran parse server using command "npm start " where i have to use verbose=1 |
run: |
ok |
here is the verbose ... verbose: POST /parse/push { 'user-agent': 'node-XMLHttpRequest, Parse/js1.8.1 (NodeJS 5.3.0)', |
Seems that your query is malformed as |
Does your query returns installations? I don't think so, given the logs... |
where is the error can u elaborate |
@Heman6886 ask over http://stackoverflow.com/ please as this is an implementation issue on your side and not an issue on parse-server. Thanks. |
Parse.Cloud.define("sendPush", function(request, response) {
});
/////// Android Code
// String channel = "parse_user_channel_";
final Map<String, Object> params = new HashMap<>();
// params.put("accountId", channel);
params.put("message", message);
// params.put("senderName", senderName);
params.put("userId", senderId);
// params.put("useMasterKey", true);//Must have this line
// public void done(String result, ParseException e) {
// if (e == null) {
// Toast.makeText(context, "HEHE", Toast.LENGTH_SHORT).show();
// Log.d("ANNOUNCEMENT" ,"SUCCESS");
// } else {
// Toast.makeText(context, "FAilure "+e.toString(), Toast.LENGTH_SHORT).show();
//
// Log.d("ANNOUNCEMENT","FAILURE"+e.toString());
// }
// }
}
//////Errorr
FAILUREcom.parse.ParseRequest$ParseRequestException: {"code":115,"message":"Channels and query should be set at least one."}
The text was updated successfully, but these errors were encountered: