Merchant Offers API : Failed to establish backside connection

Highlighted
New Contributor

Merchant Offers API : Failed to establish backside connection

Hi there.. we are getting the API response "Failed to establish a backside connection" for the Merchant Offer API.

 

It worked for sometime on 4th Nov but has not worked ever since. We are losing a lot of time waiting for help. Would really be thankful if someone can please help!

 

 

3 REPLIES 3
Highlighted
Visa Dev Moderator

Re: Merchant Offers API : Failed to establish backside connection

Hey @cardwallet,

 

I'm happy to help resolve the issue. Please provide the information below and let us know if you have questions.  

 

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

 

Using VDP Playground or SoapUI, you'll find the x-correlation-id in the Raw Tab of the response header.



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

Thanks,
Diana

Highlighted
New Contributor

Re: Merchant Offers API : Failed to establish backside connection

I am getting x-correlation-id in the response and passed it into the request.


It is working with helloworld and return statusCode:200

But with offers/v1/all it is not working and return statusCode:500

And few days back it was working properly, and was not getting the error as I'm getting right now.

It is working with status code 200, you can check it here x-correlation-id in request header and response header
-----------------request-------------------------
"request": {
"uri": {
"protocol": "https:",
"slashes": true,
"auth": null,
"host": "sandbox.api.visa.com",
"port": 443,
"hostname": "sandbox.api.visa.com",
"hash": null,
"search": null,
"query": null,
"pathname": "/vdp/helloworld",
"path": "/vdp/helloworld",
"href": "https://sandbox.api.visa.com/vdp/helloworld"
},
"method": "GET",
"headers": {
"Content-Type": "application/json",
"Accept": "application/json",
"User-Agent": "VDP_SampleCode_Nodejs",
"Authorization": "Basic STdDMFpWT0hZWjY2STdDWVZPSUIyMW1XTWtSUWM0S0FJaEpGZThNXzhrYzF6ZktOTToyeVJXcjc1Sg==",
"x-correlation-id": "4WZ3E7BERNTG_SC",
"x-client-transaction-id": "6IFOMBCXL7M1"
}
}
}


-------------response:--------------------------
"statusCode": 200,
"body": "{"timestamp":"2020-11-17T14: 06: 44","message":"helloworld"}",
"headers": {
"server": "nginx",
"date": "Tue, 17 Nov 2020 14:06:44 GMT",
"content-type": "application/json;charset=UTF-8",
"content-length": "58",
"connection": "close",
"x-served-by": "l55c015",
"x-correlation-id": "1605622004_735_410531996_l55c015_VDP_WS",
"x-app-status": "200",
"x-frame-options": "SAMEORIGIN",
"x-xss-protection": "1; mode=block, 1; mode=block",
"x-content-type-options": "nosniff, nosniff",
"strict-transport-security": "max-age=2592000;includeSubdomains, max-age=15768000;includeSubdomains;always",
"cache-control": "no-cache, no-store, must-revalidate",
"pragma": "no-cache",
"expires": "Thu, 01 Jan 1970 00:00:00 GMT ,-1",
}

 

 

--------------------------------------------------------------------------------------------------------------------------------------------------------------

 

But with the same details it is not working here and status code : 500
request:


"request": {
"uri": {
"protocol": "https:",
"slashes": true,
"auth": null,
"host": "sandbox.api.visa.com",
"port": 443,
"hostname": "sandbox.api.visa.com",
"hash": null,
"search": null,
"query": null,
"pathname": "/vmorc/offers/v1/all",
"path": "/vmorc/offers/v1/all",
"href": "https://sandbox.api.visa.com/vmorc/offers/v1/all"
},
"method": "GET",
"headers": {
"Content-Type": "application/json",
"Accept": "application/json",
"User-Agent": "VDP_SampleCode_Nodejs",
"Authorization": "Basic STdDMFpWT0hZWjY2STdDWVZPSUIyMW1XTWtSUWM0S0FJaEpGZThNXzhrYzF6ZktOTToyeVJXcjc1Sg==",
"x-correlation-id": "ENST6W52F041_SC",
"x-client-transaction-id": "JWRW6DT7LOXF"
}
}
}
---------------------response---------------
"statusCode": 500,
"body": " <message> <response-code/> <error-message>Failed to establish a backside connection</error-message></message>",
"headers": {
"server": "nginx",
"date": "Tue, 17 Nov 2020 14:13:15 GMT",
"content-type": "text/xml",
"content-length": "110",
"connection": "close",
"x-served-by": "l55c016",
"x-correlation-id": "1605622394_808_1534322778_l55c016_VDP_WS",
"x-backside-transport": "FAIL FAIL",
"x-app-status": "500",
"x-frame-options": "SAMEORIGIN",
"x-xss-protection": "1; mode=block",
"x-content-type-options": "nosniff",
"strict-transport-security": "max-age=2592000;includeSubdomains",
"cache-control": "no-cache, no-store, must-revalidate",
"pragma": "no-cache",
"expires": "-1",
"x-cnection": "close"
}

 

---------------------------------------------------------------------------------------------------------------------------------------------------

 

Kindly look into the issue if you can help me out from this.
And few days back it was working properly, and was not getting the error as I'm getting right now.
Looking forward to your valuable response.
Thank you

Highlighted
Visa Dev Moderator

Re: Merchant Offers API : Failed to establish backside connection

Hey @cardwallet,  

 

To follow up, the Visa Merchant Offers Resource Center API update is currently in pending status, and will hopefully be resolved by November 23rd or sometime next week. Once the update is complete, please test again and share your test results with us. We're happy to help if you have questions.



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

Thanks,
Diana