reporting/transactions returns '(400) bad request'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We use https://api.paypal.com/v1/reporting/transactions?start_date=yyyy-MM-ddThh:mm:ss-0000&end_date=yyyy-MM-ddThh:mm:ss-0000
to get a daily report of the last transactions. That worked fine until march 8 2020, after that it returns a '(400) bad request'.
We did some experiments and it appears that our request range includes start date 2020-03-07 it returns transactions from that date and before. If the start_date is 2020-03-08 or later it returns 'bad request'
Example: this one works:
https://api.paypal.com/v1/reporting/transactions?start_date=2020-03-07T09:48:49-0000&end_date=2020-0...
and this one returns bad request:
https://api.paypal.com/v1/reporting/transactions?start_date=2020-03-08T09:48:49-0000&end_date=2020-0...
We really hope that someone can help us out because our operation is very dependant on daily reporting of the transactions.
- Labels:
-
Reporting APIs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I figured out the conditions for which this 'bad request' is thrown: When the start-date is after the 'last-refreshed-date' !!
It appears that PayPal hasn't refreshed the account data for several days ... and counting . Last-refresh was 3 days ago !!
What's going on there ?? Corona?
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.