Create Card-Based Subscription - 500 response

sonarapi
New Contributor

Create Card-Based Subscription - 500 response

 

When calling POST Create Card-Based Subscription API `https://sandbox.api.visa.com/core/v1/cardSubscriptions` we are getting a 500 response with the following message: 'IO connection issue encountered while trying invoke the backend'

This is the request body we are sending:

{"events":["card.transaction.authorized"],"vCardID":"v-038-3bc71789-ca14-421e-bf32-0181adfb014d","consentID":"f65fa689-0279-4e15-8549-61c3b6b591c1","callbackURL":"https://my.application"}

 

This is the response we are receiving:

<-- 500 https://sandbox.api.visa.com/core/v1/cardSubscriptions?apikey=REDACTED (1138ms)
Server: nginx
Date: Thu, 29 Feb 2024 17:39:05 GMT
Content-Length: 63
Connection: keep-alive
X-SERVED-BY: -5b54b9f6-8z9
X-CORRELATION-ID: 1709228344_620_1992890727_-5b54b9f6-8z9_VDP_WS
X-ERROR-ORIGIN: 9900
X-APP-STATUS: 500
Cache-Control: no-cache, no-store, must-revalidate
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 0
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=31536000;includeSubdomains
Pragma: no-cache
Expires: -1

IO connection issue encountered while trying invoke the backend
<-- END HTTP (63-byte body)

 


Could you advise as to the possible reasons for this error response?

2 REPLIES 2
jenn_kh
Community Moderator

Re: Create Card-Based Subscription - 500 response

Hi, @sonarapi! Thank you for reaching out. One of our agents will look into this and get back to you soon. Until then, if any community members know a solution, please feel free to reply to this thread.

API_Products
Visa Developer Support Specialist

Re: Create Card-Based Subscription - 500 response

Hi @sonarapi,

 

You can refer to the Visa Developer Error Codes page for cause and resolution. I've also copied and pasted the cause and resolution for the 500 error code below.

 

Internal Server Error Codes

HTTP STATUS HTTP CODE CAUSE/RESOLUTION

INTERNAL SERVER ERROR

500

Internal Server Error.

Please contact Visa Support at developer@visa.com with a complete error message, full http request and response details.




Thanks,

Diana H.



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.