Re: error 500 calling /visab2bconnect/v1/payments/validateEligibility

Schoenbaum
Helper

error 500 calling /visab2bconnect/v1/payments/validateEligibility

I'm receiving an Internal Server Error when calling the Visa B2B Connect validateEligibility API from within the application I am developing.  The request is well formed and tracing shows that the certificate handshake is working properly.  The body of the Internal Server Error response is:

<HTML><HEAD><TITLE>Error</TITLE>
</HEAD><BODY>
An error occurred while processing your request.<p>
Reference&#32;&#35;179&#46;96392b17&#46;1588869976&#46;3aca9b48
</BODY></HTML>

 

Can anyone explain the meaning of the "Reference" value and how it relates to the internal server error?  How can I determine why the call fails?

 

The same call works correctly from my host computer when using SoapUI.

6 REPLIES 6
ricardo_visa
Community Scholar

Re: error 500 calling /visab2bconnect/v1/payments/validateEligibility

hey @Schoenbaum - we're looking into this. Apology for the inconvenience, let me know if anything else comes up in the meantime. 

 

 




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

Re: error 500 calling /visab2bconnect/v1/payments/validateEligibility

Hey @Schoenbaum  - we're looking to troubleshoot but need some more details. When you get a chance, can you send the CR ID as well as the info below:

 

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

 

Thanks,

Ricardo




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

Re: error 500 calling /visab2bconnect/v1/payments/validateEligibility

Hi Ricardo,

 

I'm not clear what you are referring to with "CR ID".

 

I have extracted the following from the .NET System.Net trace log file:

 
1. Endpoint
System.Net Verbose: 0 : [35428] Entering WebRequest::Create(https://sandbox.api.visa.com/visab2bconnect/v1/payments/validateEligibility)
System.Net Information: 0 : [44720] Connection#6256157 - Created connection from 10.10.11.30:50569 to 23.78.194.251:443.
2. Request Header
System.Net Information: 0 : [35428] HttpWebRequest#36685625 - Request: POST /visab2bconnect/v1/payments/validateEligibility HTTP/1.1
System.Net Information: 0 : [35428] ConnectStream#48191601 - Sending headers
{
Content-Type: application/json
Uuid: 6e9bb59e-18d3-462f-9bc8-e67052593487
Authorization: Basic TkkzSFY3UlJXWEZTVFdDWjU1MjQyMTBzUFlaTXpyXzA4U0k3aDF1aUFiUkFfV0RORTo0d1BTWGgxVkFXczJwang4VUFRckFVYw==
Host: sandbox.api.visa.com
Content-Length: 138
Expect: 100-continue
Connection: Keep-Alive
}.
3. Request Body
System.Net Verbose: 0 : [19596] Data from ConnectStream#48191601::ResubmitWrite
System.Net Verbose: 0 : [19596] 00000000 : 7B 22 64 65 62 74 6F 72-42 61 6E 6B 42 69 63 22 : {"debtorBankBic"
System.Net Verbose: 0 : [19596] 00000010 : 3A 22 43 49 54 49 47 42-32 4C 22 2C 22 63 72 65 : :"CITIGB2L","cre
System.Net Verbose: 0 : [19596] 00000020 : 64 69 74 6F 72 42 61 6E-6B 42 69 63 22 3A 22 43 : ditorBankBic":"C
System.Net Verbose: 0 : [19596] 00000030 : 49 54 49 47 42 33 4C 22-2C 22 64 65 62 74 6F 72 : ITIGB3L","debtor
System.Net Verbose: 0 : [19596] 00000040 : 41 63 63 6F 75 6E 74 4E-75 6D 62 65 72 22 3A 22 : AccountNumber":"
System.Net Verbose: 0 : [19596] 00000050 : 31 22 2C 22 63 72 65 64-69 74 6F 72 41 63 63 6F : 1","creditorAcco
System.Net Verbose: 0 : [19596] 00000060 : 75 6E 74 4E 75 6D 62 65-72 22 3A 22 31 22 2C 22 : untNumber":"1","
System.Net Verbose: 0 : [19596] 00000070 : 73 65 74 74 6C 65 6D 65-6E 74 43 75 72 72 65 6E : settlementCurren
System.Net Verbose: 0 : [19596] 00000080 : 63 79 22 3A 22 4A 50 59-22 7D                   : cy":"JPY"}
4. Response Header (include the x-correlation-id)
System.Net Information: 0 : [44720] Connection#6256157 - Received status line: Version=1.1, StatusCode=500, StatusDescription=Internal Server Error.
System.Net Information: 0 : [44720] Connection#6256157 - Received headers
{
Mime-Version: 1.0
X-Reference-Error: 179.96392b17.1588869976.3aca9b48
Connection: close
Content-Length: 177
Content-Type: text/html
Date: Thu, 07 May 2020 16:46:16 GMT
Expires: Thu, 07 May 2020 16:46:16 GMT
Server: AkamaiGHost
}.
5. Response Body
System.Net Verbose: 0 : [44720] Data from ConnectStream#26018055::Read
System.Net Verbose: 0 : [44720] 00000000 : 3C 48 54 4D 4C 3E 3C 48-45 41 44 3E 3C 54 49 54 : <HTML><HEAD><**bleep**
System.Net Verbose: 0 : [44720] 00000010 : 4C 45 3E 45 72 72 6F 72-3C 2F 54 49 54 4C 45 3E : LE>Error</TITLE>
System.Net Verbose: 0 : [44720] 00000020 : 3C 2F 48 45 41 44 3E 3C-42 4F 44 59 3E 0A 41 6E : </HEAD><BODY>.An
System.Net Verbose: 0 : [44720] 00000030 : 20 65 72 72 6F 72 20 6F-63 63 75 72 72 65 64 20 :  error occurred
System.Net Verbose: 0 : [44720] 00000040 : 77 68 69 6C 65 20 70 72-6F 63 65 73 73 69 6E 67 : while processing
System.Net Verbose: 0 : [44720] 00000050 : 20 79 6F 75 72 20 72 65-71 75 65 73 74 2E 3C 70 :  your request.<p
System.Net Verbose: 0 : [44720] 00000060 : 3E 0A 52 65 66 65 72 65-6E 63 65 26 23 33 32 3B : >.Reference&#32;
System.Net Verbose: 0 : [44720] 00000070 : 26 23 33 35 3B 31 37 39-26 23 34 36 3B 39 36 33 : &#35;179&#46;963
System.Net Verbose: 0 : [44720] 00000080 : 39 32 62 31 37 26 23 34-36 3B 31 35 38 38 38 36 : 92b17&#46;158886
System.Net Verbose: 0 : [44720] 00000090 : 39 39 37 36 26 23 34 36-3B 33 61 63 61 39 62 34 : 9976&#46;3aca9b4
System.Net Verbose: 0 : [44720] 000000A0 : 38 0A 3C 2F 42 4F 44 59-3E 3C 2F 48 54 4D 4C 3E : 8.</BODY></HTML>
System.Net Verbose: 0 : [44720] 000000B0 : 0A                                              : .
 
ricardo_visa
Community Scholar

Re: error 500 calling /visab2bconnect/v1/payments/validateEligibility

Thanks for sending! Apologies - what I meant by CR ID was correlation id - can you also share that?

 

 




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

Re: error 500 calling /visab2bconnect/v1/payments/validateEligibility

There is no X-Correlation-id value.

 

Instead the response header has an X-Reference-Error element.  This apparently is a custom header element used by Visa.

ricardo_visa
Community Scholar

Re: error 500 calling /visab2bconnect/v1/payments/validateEligibility

Thanks for the information. Looks like the response is coming from the Akamai layer, based off "Server:AkamaiGHost" in the response headers. Could be a connectivity issue between their system and Visa. 

 

I can have our ops team check if the call is even reaching our origin - but would need your IP address to do that. You can email that directly to me at rinavarr@visa.com 

 

 




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