Parse.initialize("XXXX", "XXXX", "https://pacecouriers.com/parse");ParseQuery<ParseObject> query = ParseQuery.getQuery("GameScore");query.getInBackground("xWMyZ4YEGZ", new GetCallback<ParseObject>() {public void done(ParseObject object, ParseException e) {if (e == null) {// object will be your game score} else {// something went wrong}}});
`
I am getting the following error when :
Connection failed with Parse servers. Log: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
My code :
Parse.initialize("XXXX", "XXXX", "https://pacecouriers.com/parse");
ParseQuery<ParseObject> query = ParseQuery.getQuery("GameScore");
query.getInBackground("xWMyZ4YEGZ", new GetCallback<ParseObject>() {
public void done(ParseObject object, ParseException e) {
if (e == null) {
// object will be your game score
} else {
// something went wrong
}
}
});
`I am getting the following error when :
Connection failed with Parse servers. Log: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target