- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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]
Solved! Go to Solution
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Diana,
Thank you for your response.
I'm trying t hit the endpoint described in Api Reference. Please check the screenshot below:
VISA 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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @tok,
Sandbox is up and running. Can you please try again and let us know if the issue is resolved?
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @tok,
Can you please confirm that your issue is resolved? Please let us know if you have other questions or need further assistance.
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey @anilnayak,
I'm happy to help you resolve the issue. Please provide the following information for further assistance:
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,
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: VBDS API: /trxndata request returns 404
Thank you for reaching out, @Adrian9! An agent will get back to you with more information shortly. In the meantime, if anyone has any ideas that you feel may help, please share them here! -Jenn