Visa Developer Community

tok
Regular Visitor

VBDS API: /trxndata request returns 404

Hello!

I started to get 404 error for my request, which worked previously (a couple of weeks ago).

Can you please help me to find out a reason for that.

Here is my request:

INFO: URI: https://sandbox.api.visa.com/cdsapi/commercial/v1/ob/trxndata

INFO: HTTP Method: POST

INFO: HTTP Headers: Accept=[application/json],Content-Type=[application/json],Authorization=[Basic ***************],User-Agent=[Java-SDK],Content-Length=[421]

INFO: Request Body: {"request":{"metadata":{"startIndex":"2575936978","endDate":"2018/06/18","startTime":"00:00:00","endTime":"23:59:59","startDate":"2018/06/17"},"requestType":"all","bank":[{"bankId":"999999","processorId":"1","regionId":"1","company":{"companyId":"9000000056"}}]},"transactionRecordFields":"acctNum,messageId,origTransRefNum,transTypeCd,origSupplierNm,billingAmt,billingCurrCd,regionId,processorId,memberBankId,companyId"}

 

Here is response:

INFO: HTTP Status Code: 404

INFO: Status Text: Not Found

INFO: HTTP Headers: Server=[Apache],X-SERVED-BY=[l73c029],X-CORRELATION-ID=[1557836738_810_101_l73c029_VDP_ARM],X-Backside-Transport=[FAIL FAIL,FAIL FAIL],X-Global-Transaction-ID=[de8c0d945cdab3c34ee2d411],X-APP-STATUS=[404],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],Content-Length=[0],Date=[Tue, 14 May 2019 12:25:39 GMT],Connection=[close]

 

 

5 REPLIES 5
Visa Dev Moderator

Re: VBDS API: /trxndata request returns 404

Hi tok,

 

I'll take a look and reach with an update soon.

 

404 Not Found means the project is trying to hit an endpoint that does not exist. Please refer to the API documentation to validate you are hitting the right endpoint. For information on error codes, please navigate to - https://developer.visa.com/pages/visa-developer-error-codes

 

 

 

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

tok
Regular Visitor

Re: VBDS API: /trxndata request returns 404

Hi Diana,

Thank you for your response.

I'm trying t hit the endpoint described in Api Reference. Please check the screenshot below:

VDP.JPGVISA Developer Center

I'm hitting the same endpoint: https://sandbox.api.visa.com/cdsapi/commercial/v1/ob/trxndata

And as I mentioned before, this request worked previously.

Also, an attempt to hit not existant endpoint, for example, "https://sandbox.api.visa.com/cdsapi/commercial/v1/ob/trxndata1" brings error with response body: 

{
"status": 404,
"code": "9000",
"severity": "ERROR",
"message": "Invalid URI"
}

And in my case response body is empty.

 

Visa Dev Moderator

Re: VBDS API: /trxndata request returns 404

Hi @tok,

 

Sandbox is up and running. Can you please try again and let us know if the issue is resolved?

 

 

 

 

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

Visa Dev Moderator

Re: VBDS API: /trxndata request returns 404

Hi @tok,

 

Can you please confirm that your issue is resolved? Please let us know if you have other questions or need further assistance.

 

 

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

Regular Visitor

Re: VBDS API: /trxndata request returns 404

 The api docs are implemented via a decorator on the method. Which means either they 404d the method temporarily (unlikely, doesn't make sense), or no longer want everyone using it.