Re: Visa Report Api Bad Request

Russel
Helper

Visa Report Api Bad Request

Hello,

 

I am testing the Visa Transfer Api for a project, but when sending visa Report Api request for settlements data, I get a Bad request in the status, with the response body "No report data found for the specified input criteria."

I don't know what I did wrong, kindly assist.

Bellow the request format:

Method: GET

Url: https://sandbox.api.visa.com/visadirect/reports/v1/transactiondata?fromDate=23122020&toDate=26122020

 Response body (with the status response : 400 Bad Request):

{
    "message": "No report data found for the specified input criteria.",
    "reason": "No Data Found"
}
 
Waiting for your support.
Thanks!
Russel.
Full stack web Developer
6 REPLIES 6
API_Products
Visa Developer Support Specialist

Re: Visa Report Api Bad Request

Hey @Russel,

 

If the issue persists, please kindly answer the following and we'll be happy to provide you with 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.

 

Also, view our Visa Developer error codes and how to resolve them by navigating to our Visa Developer Error Codes page here - https://developer.visa.com/pages/visa-developer-error-codes 

 

If you don't find an error code listed on the Visa Developer Codes page, refer to API-specific error codes in its the API's documentation pages. 




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.

Russel
Helper

Re: Visa Report Api Bad Request

Hello Diana,

Please see below my request and response:

Request:

Method: GET

Url endpoint: https://sandbox.api.visa.com/visadirect/reports/v1/transactiondata?fromDate=24122020&toDate=26122020

Accept: "text/csv"

 

Response Header:

Servernginx
DateWed, 30 Dec 2020 12:02:22 GMT
Content-Typeapplication/json;charset=UTF-8
Content-Length93
Connectionkeep-alive
X-SERVED-BYl73c017
X-CORRELATION-ID1609329742_420_306214766_l73c017_VDP_WS
X-APP-STATUS400
X-APP-STATUS400
Cache-Controlprivate ,no-cache, no-store, must-revalidate ,no-cache, no-store, must-revalidate
ExpiresThu, 01 Jan 1970 00:00:00 GMT ,-1 ,-1
X-Frame-OptionsSAMEORIGIN
X-XSS-Protection1; mode=block
X-Content-Type-Optionsnosniff
Strict-Transport-Securitymax-age=2592000;includeSubdomains
Pragmano-cache
Content-Languageen-US
X-Cnectionclose
X-Cnectionclose
 
Response body:
{"message":"No report data found for the specified input criteria.","reason":"No Data Found"}
 
StatusCode: 400
 
Note: I have performed test transactions and QueryApi is responding well, but Report API is still sending Bad request.
           Please confirm is this response is correct or not and what to do in order to get back sample Report Api data.
 
Kindly Assist.
 
Regards.
Russel.
 
Full stack web Developer
API_Products
Visa Developer Support Specialist

Re: Visa Report Api Bad Request

Hey @Russel,

 

We're investigating the issue and get back soon. Please let us know if you've got other questions. Someone will be happy to help.

 




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.

API_Products
Visa Developer Support Specialist

Re: Visa Report Api Bad Request

Hey @Russel,

 

I've logged incident INC10706422 for the engineering team to review. We'll get back to you soon with a solution. Please let us know if you've got other questions. Someone will be happy to help.

 




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.

Russel
Helper

Re: Visa Report Api Bad Request

Hello Diana, thanks, I will be waiting for your reply after investigations.

Full stack web Developer
API_Products
Visa Developer Support Specialist

Re: Visa Report Api Bad Request

Hi @Russel,

 

Does the issue still persist? Please confirm if you need further assistance, we'll be happy to help. 




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.