SSL errors during token

I am using electron framework for building desktop app. I am able to call the authorize API and get the code. I am using axios library to make the http calls. Next when I call /login/authorization/token , I get an error with SSL.
cause: Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1603:34)
at TLSSocket.emit (node:events:517:28)
at TLSSocket._finishInit (node:_tls_wrap:1020:8)
at ssl.onhandshakedone (node:_tls_wrap:806:12) {
The same is working with Postman. What certificate I need for this and is there anyway to circumvent this error ?

This issue seems to be specific to your local development environment. However, you might find useful insights in this article that addresses a similar problem and its solution: Unable to verify the first certificate in Node.js & Postman | bobbyhadz.

Should you encounter any issues related to the Upstox API, please don’t hesitate to contact us for assistance.