"Invalid Input" error on VendorOrders get_purchase_orders() depending on changedAfter value #434
robguttman
started this conversation in
General
Replies: 3 comments 3 replies
|
Hi, I haven't worked with the vendor api a lot, but there's nothing here that looks like this client even could cause the behavior. Does (datetime.utcnow() - timedelta(days=7)).isoformat() work? |
3 replies
|
Michael, so guess what - that same exact request that was failing before now succeeds: So it does seem like there was some transient issue on Amazon's side. But now I am well equipped to report issues to Amazon support thanks to the exposed |
0 replies
|
I'm facing same problem for get_purchase_orders_status () Receiving recent date data |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Calls to
VendorOrders().get_purchase_orders()succeed or fail depending on the value ofchangedAfter.To Reproduce
This call succeeds:
This call fails:
The error response is:
Notice that the only difference is the
changedAftervalue - both are in ISO-8601 date/time format and both are well within the 7 day range stated in the documentation. These calls also fail:Expected behavior
It's expected that these calls should succeed as long as the
changedAfterdate is ISO-8601 date/time format and within the 7 day range.Additional context
I suspect these issues are with the Amazon REST API and not this SDK, but it's hard to know for sure. Also, the API error response message is useless. I also suspect this is the fault of the Amazon API and not this SDK but again, it's hard to know for sure.
All reactions