amzn / selling-partner-api-models

This repository contains OpenAPI models for developers to use when developing software to call Selling Partner APIs.
Apache License 2.0
612 stars 739 forks source link

[BUG] GET /finances/v0/financialEvents #2981

Closed AndreyBaryshev closed 2 years ago

AndreyBaryshev commented 2 years ago

Issue with GET /finances/v0/financialEvents endpoint.

For one day (7 May or 8 May) it works ok, but if request data for two days together it returns the error.

Tested account has India marketplace only, probably it's important.

Request examples:

  1. 2022-05-07 - 2022-05-09 ISSUE https://sellingpartnerapi-eu.amazon.com/finances/v0/financialEvents?PostedAfter=2022-05-07T00%3A00%3A00%2B00%3A00&PostedBefore=2022-05-09T00%3A00%3A00%2B00%3A00 "[{'code': 'InvalidInput', 'message': 'Invalid Input', 'details': ''}]"

  2. 2022-05-07 - 2022-05-08 https://sellingpartnerapi-eu.amazon.com/finances/v0/financialEvents?PostedAfter=2022-05-07T00%3A00%3A00%2B00%3A00&PostedBefore=2022-05-08T00%3A00%3A00%2B00%3A00 response - ok

  3. 2022-05-08 - 2022-05-09 https://sellingpartnerapi-eu.amazon.com/finances/v0/financialEvents?PostedAfter=2022-05-08T00%3A00%3A00%2B00%3A00&PostedBefore=2022-05-09T00%3A00%3A00%2B00%3A00 response - ok

  4. 2022-05-04 - 2022-05-06 https://sellingpartnerapi-eu.amazon.com/finances/v0/financialEvents?PostedAfter=2022-05-04T00%3A00%3A00%2B00%3A00&PostedBefore=2022-05-06T00%3A00%3A00%2B00%3A00 response - ok

  5. 2022-05-04 - 2022-05-07 ISSUE https://sellingpartnerapi-eu.amazon.com/finances/v0/financialEvents?PostedAfter=2022-05-04T00%3A00%3A00%2B00%3A00&PostedBefore=2022-05-06T00%3A00%3A00%2B00%3A00 "[{'code': 'InvalidInput', 'message': 'Invalid Input', 'details': ''}]"

adrian-amz commented 2 years ago

Hello @AndreyBaryshev,

In order to correctly resolve this issue, please open a support case, so we can pursue the investigation, as additional details are required from your end.

Thanks, Adrian C Selling Partner API Developer Support