Re: Ger server status 500 on API call

dmytrop14
New Contributor

Ger server status 500 on API call

Hello, i have internal server error on api call

 

path: https://sandbox.api.visa.com/vmss/v2/searchTerminatedRequest
headers: {
   Accept: application.json,
   Authorization: Basic ****************VkFSREQyMTltUEdyeFJTZFYxZk5vNWhNOWk5VkdIV1lZTTpyMXJIaE1QbFBRZzRBbFhYR1BsUktNeA==,
   KeyId: f520360d-2fd5-4555-95de-***********,

   Kid: f520360d-2fd5-4555-95de-***********

}

Content is test data from api references 
{

  • "searchTerminatedRequest": {
    • "terminatedRecordSearchCriteria": {},
    • "acquirerBID": "10033027",
    • "retroAlertIfNoMatch": false,
    • "globalSearch": true,
    • "acquirerCountryOrRegion": "AT"
    }

}

Encrypted response is:
image_2023-02-16_103606602.png



 
 

 

 

We do use required MLE Verification 

5 REPLIES 5
jenn_kh
Community Moderator

Re: Ger server status 500 on API call

Thank you for reaching out, @dmytrop14! An agent is looking for a solution for you and will get back to you soon. If any community members know a solution, please feel free to respond here. -Jenn

dmytrop14
New Contributor

Re: Ger server status 500 on API call

Hello, how it is going?
I_Doroteo3
Visa Developer Support Specialist

Re: Ger server status 500 on API call

Hi @dmytrop14

 

Please provide the following information so that I can open a ticket with the technical support team:

 

  1. Endpoint  
  2. Request Header 
  3. Request Body 
  4. Response Header (include the x-correlation-id) 
  5. Response Body 

Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header. 

 

Thanks, 

Illana

dmytrop14
New Contributor

Re: Ger server status 500 on API call

Hi @I_Doroteo3  and @jenn_kh 

After more researches i have found out that the issue is a little different from what i thought at the beginning.
Let me explain.

So our endpoint is https://sandbox.api.visa.com/vmss/v2/searchTerminatedRequest
It seems to work fine.
There is the response body.

 
{"encData":"eyJjdHkiOiJhcHBsaWNhdGlvblwvanNvbiIsImVuYyI6IkExMjhHQ00iLCJhbGciOiJSU0EtT0FFUC0yNTYifQ.rjgHknzersU1ddadf0NHitXUuNIlYTaqKFYF9nMYO1sWBQqUOAob8T__lMTCGzPSnc78E57LdAOD7NF38yUDej4Q5SAVaDS5H_Lbui9BwDMc1-QDg3SRJTIrvlYYZJloj3EKbIl0A6b24GjodZdeJ0vy05QRVZmOC2X57KcdemOnveh_Z-r4siAizSMrS3Ovrx1spLUthaOBRXUcr_gMPbY85Ab72JRF9htljWT8OiqomjOAcjMWV3d6GamvPrFkmzfDrRk8HcXerwaP66ee25d7jVOKVVCT2BNt2Ql3cJoglzo7DBIj4mqyJFZKyyMhhY3cbWxe9UyHAHPuLdGKGw.R9jr7_HiJv9AwURc.4nDZ1ZCREN2eHGYbVPMEjIB-hEYttpZzJXk2wzVZ-l_6hUr4pZsKiB9KkGIKzOTLk73sKwqWTf5SwKfPByMGNQ86Tpe7KIMC74zg83pVjohPNo6_BZxH-zKe5AAteRWERDYEJBElaM5ztlujvTXTnCgbvk-cqfKyF9OsP0vLP5Wu4I0.5HH3R3ydsg7rUlH0arqUfA"}
 

Then i try to decrypt it according to the instruction i have found here:
 Screenshot_2.pngScreenshot_3.png

And the result of that decryption is:

Screenshot_4.png

Internal server error

 

 

I_Doroteo3
Visa Developer Support Specialist

Re: Ger server status 500 on API call

Hi @dmytrop14

 

Sorry for the late reply, can you copy and paste your decryption as shown in the photo you included below? As well as this information: 

 

Endpoint  

Request Header 

Request Body 

Response Header (include the x-correlation-id) 

Response Body 

 

I'll submit these details in a ticket to the technical support team to look into it.

 

Thanks, 

Illana