Re: Error wrong tag

kkulis
New Contributor

Error wrong tag

HI,

i'm getting and error while trying to get  https://sandbox.api.visa.com/forexrates/v2/foreignexchangerates

I'm using a .pfx file.

Without SSL it works but with SSL I get error as below:

 

 

 

error Error: wrong tag
    at configSecureContext (node:internal/tls/secure-context:287:15)
    at Object.createSecureContext (node:_tls_common:116:3)
    at Object.connect (node:_tls_wrap:1763:48)
    at Agent.createConnection (node:https:171:22)
    at Agent.createSocket (node:_http_agent:340:26)
    at Agent.addRequest (node:_http_agent:288:10)
    at new ClientRequest (node:_http_client:334:16)
    at Object.request (node:https:379:10)
    at RedirectableRequest._performRequest (/app/node_modules/follow-redirects/index.js:326:24)

 

 

What does this mean?

Thanks 

 

1 REPLY 1
jenn_kh
Community Moderator

Re: Error wrong tag

Hi @kkulis, Thank you for reaching out. An agent will look into this and get back to you as soon as possible. In the meantime, if any community member knows a solution, please feel free to reply.