Hello Manju Sudan,
Thanks for reaching out!
As per my research, "unable to find valid certification path to requested target" is not a specific error message from the Graph API, but rather a generic SSL/TLS error message that indicates a problem with the SSL/TLS certificate validation. This error is typically thrown by the Java SSL/TLS implementation when it's unable to establish a secure connection with the server due to an invalid or untrusted SSL/TLS certificate.
In the case of integrating with the Graph API, this error can occur if the SSL/TLS certificate presented by the Graph API server is not trusted by the Java client application, either because the certificate is invalid, expired or not issued by a trusted certificate Authority.
Please ensure that the app trusts the provided certificate, in order to establish a connection successfully.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.