Re: [API Visa Flexible Credential] ,error":{"code":500,"description":"

bouchra
Regular Visitor

[API Visa Flexible Credential] ,error":{"code":500,"description":"Internal Server Error"}

Hello Team,

We are conducting tests with the Visa Flexible Credential service API.

Currently, we are testing the "Update Card Enrollment Details" API.

The error we encountered is:

response :{"processingTimeinMs":20,"receivedTimestamp":"2025-02-24 09:19:33.411","error":{"code":500,"description":"Internal Server Error","details":[{"message":"A runtime exception occurred in Visa Transaction Control internally"}]}}

 

Receiving document-ids (enrolling) works correctly using the "Create Card Enrollment" API. However, when testing the update, we receive the error message above.

Here is the X-Correlation-Id of the failed request: YEEsxPbXoy_SC

The request sent to Visa:

VFCPayload: {"existingPan":"4865152911511237","newPan":{"primaryAccountNumber":"4865152911511237","expirationDate":{"mm":"02","yy":"25"},"name":"My Debit Card"}}

We would appreciate your assistance.

Best Regards,

2 REPLIES 2
SyedSa
Community Moderator

Re: [API Visa Flexible Credential] ,error":{"code":500,"description":"

Hi @bouchra, Thank you for reaching out! An agent will get back to you as soon as possible. Until then, if any community member knows a solution, feel free to reply in this thread.

DianaVisaPM
Visa Developer Support Specialist

Re: [API Visa Flexible Credential] ,error":{"code":500,"description":"

Hey @bouchra,

 

The error message you received indicates an internal server error (HTTP 500) with a runtime exception occurring within Visa Transaction Control. Here are a few steps you can take to troubleshoot this issue:

1. Validate the Request Payload:
- Ensure that the request payload is correctly formatted and includes all necessary fields. It appears that your payload is correctly structured, but double-check for any typos or missing data.

2. Check API Documentation:
- Review the API documentation on [Visa Developer](https://developer.visa.com/) for the "Update Card Enrollment Details" API to ensure that all required parameters are included and correctly formatted.

3. Correlation ID Reference:
- Use the X-Correlation-Id (YEEsxPbXoy_SC) when contacting Visa Developer Support. This ID helps Visa's support team trace the specific request and identify the issue within their systems.

4. Retry the Request:
- Sometimes, internal server errors can be transient. Retry the request to see if the issue persists.




Thanks,

Diana



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