Re: Report API Error: From date is not allowed

AlexeyOrlenko
Helper

Report API Error: From date is not allowed

Hello Visa Team 

I'm trying to get reports from https://sandbox.api.visa.com/visadirect/reports/v1/transactiondata

and get HTTP 400 and "From date is not allowed to query data. Please select a day within last 5 days." error.

Do you chenge API?

`fromDate` is correct request parameter according to https://developer.visa.com/reference#visa_direct__reports_api 

Could you help?

My request is 

https://sandbox.api.visa.com/visadirect/reports/v1/transactiondata?fromDate=01042016&toDate=02042016


and 

userId=2USV4FF6XIBT2YF8RUIW21aSTOYftdxKAt5mkKmNR-13qcOMQ


Thank you in avance.

P.S The same problem is on cert.api.visa.com

6 REPLIES 6
ricardo_visa
Community Scholar

Re: Report API Error: From date is not allowed

Hi there, 

We are looking into this for you.

 

Thank you,

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.
AlexeyOrlenko
Helper

Re: Report API Error: From date is not allowed

Hi

Do you have any news?

Thank you

AlexeyOrlenko
Helper

Re: Report API Error: From date is not allowed

Hello 
It doesn't work 😞
Could you help?
Alexey

Sanobar
Frequent Helper

Re: Report API Error: From date is not allowed

Hello,

400 error code means The transaction was rejected by VisaNet due to a message validation error. Use date format as 

below mentioned parameters and select within last five days e.g 14032017
 
date | ddmmyyyy
The beginning date. Example: 31032016 for 31st March 2016.

 

lets us know if this resolve the issue. 

 

Thanks
Sanobar

AlexeyOrlenko
Helper

Re: Report API Error: From date is not allowed

Hello 

Ok It works.
Now i'm getting

HTTP 400 and ""No report data found for the specified input criteria.","reason":"No Data Found"

But it is expected response.
Thank  you
One more question: 

Visa API used to retrun a fake report if ask reports for 1-2 April, 2016
What is about now? Is there ability to get some test/fake report?

Alexey

agucampos
Regular Visitor

Re: Report API Error: From date is not allowed

I'm getting the same error:

 

VisaAPIClient: INFO: Response Body : 
VisaAPIClient: INFO: {
    "message": "No report data found for the specified input criteria.",
    "reason": "No Data Found"
}

Please let me know if there is any way to see any fake data on sandbox. Also, how can I add the credentials of a merchant to see his data?

 

Best regards,