Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report being continually CANCELLED #2426

Closed
nrogers805 opened this issue May 17, 2022 · 6 comments
Closed

Report being continually CANCELLED #2426

nrogers805 opened this issue May 17, 2022 · 6 comments
Labels
closing soon This issue will be closed soon

Comments

@nrogers805
Copy link

I am trying to produce reports:
GET_STRANDED_INVENTORY_UI_DATA
and
GET_RESERVED_INVENTORY_DATA

But both are continually Cancelled - I have tried to produce these reports for over 24 hours with no luck

This is happening for all sellers using my App

Here are the API calls for both with the responses - please investigate

GET
/reports/2021-06-30/reports/2080119019129

accept:application/json
host:sellingpartnerapi-eu.amazon.com
x-amz-access-token:Atza|IwEBIDrYC1w_8YCxO8atkLbRZbGjbOPmGh-9tKPwQMqwOIIBrzm9fZ0VEZiXnzKYiO-B3XY9nDrlzm7p3tI7ozGKh_LlH9m5IJd26Qsrg5DtWuvSFKtk50a7SdsOjqWbEjHCF9h_5av3aCPXx6OxLHJPXl98NSlwR2HBCHs_1QeoOr4rBSvYVstZpMhv8GnvO_HDLAUY6fMqRuV-oVOb9jny1I7sWeIkR64F41hYvYB-bXSXcE_fTaTR2lGmABoI2N3mISVVTM7jkEYSloVQQxNgDqtmIWNmi_u1RWECaFLjynEMcoxhj5RGYfmMu8g6cLzoWF7dAJTj9qJQzyxYgTyZXO8p
x-amz-date:20220517T143438Z
x-amz-security-token:FwoGZXIvYXdzEPj//////////wEaDI92GaYTqrIdWe67byLIAey+FGbXB2Sr6W0bKqpT5C2oracVxosLF7UDwwjRktanYscySt2uxa1p2V9M1lq0GbS8PSAGkaTSYlpZ4Jl/cCyNl+0y0wzZjqoxbh85LVrG31CCYX2PHKGUR+vKL0Qw2q7FyIzRCwJqLufpvKxv04JqcI3Npy25UDFBx/NP6gbJNSbWat9vV4YXgP9ulHQtteuBkadxuWO5MQwJO24vwaSc7hGk4dUSLuxbJXKRIIuyx5BQui5MIoZjzwjfNT0fIX7MEsMjNHZoKP7kjpQGMi20trdrIi+fMHFzgf3h40mTEQlR+Xp/ImIJWJaVnefvrxD2QSvMluX1BHAtAyk=

accept;host;x-amz-access-token;x-amz-date;x-amz-security-token
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Response
{"reportType":"GET_STRANDED_INVENTORY_UI_DATA","processingEndTime":"2022-05-17T14:32:44+00:00","processingStatus":"CANCELLED","marketplaceIds":["A1F83G8C2ARO7P"],"reportId":"2080119019129","dataEndTime":"2022-05-17T14:32:30+00:00","createdTime":"2022-05-17T14:32:31+00:00","processingStartTime":"2022-05-17T14:32:37+00:00","dataStartTime":"2022-05-12T00:00:00+00:00"}

Request id
9737e0d0-45a6-4674-aa75-60522037ec48

Timestamp
Tue, 17 May 2022 14:34:38 GMT

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

GET
/reports/2021-06-30/reports/2080123019129

accept:application/json
host:sellingpartnerapi-eu.amazon.com
x-amz-access-token:Atza|IwEBIDrYC1w_8YCxO8atkLbRZbGjbOPmGh-9tKPwQMqwOIIBrzm9fZ0VEZiXnzKYiO-B3XY9nDrlzm7p3tI7ozGKh_LlH9m5IJd26Qsrg5DtWuvSFKtk50a7SdsOjqWbEjHCF9h_5av3aCPXx6OxLHJPXl98NSlwR2HBCHs_1QeoOr4rBSvYVstZpMhv8GnvO_HDLAUY6fMqRuV-oVOb9jny1I7sWeIkR64F41hYvYB-bXSXcE_fTaTR2lGmABoI2N3mISVVTM7jkEYSloVQQxNgDqtmIWNmi_u1RWECaFLjynEMcoxhj5RGYfmMu8g6cLzoWF7dAJTj9qJQzyxYgTyZXO8p
x-amz-date:20220517T143728Z
x-amz-security-token:FwoGZXIvYXdzEPj//////////wEaDGHz6Zg28exBFcBQXSLIAf2c/JxhzZagr80Dh6T2MEs1BT7+eyL8B08HKJXTkNcwV7cZhdJvzdNH39yooelCNNFM4aCrZ8XnQf50rH8K3XYljSEq2kn5e+mqCL7hY9Mjen8hVqN5WKodcWnPtoTvOisnASLBg09XzspW0OuBrmm9qE1NDmH8hExdvJ4XccJ+JtdyXOqyVlYhDF84/+oZS1vQREqAJRDtufkXGnrIGp7cro16Up3Zao6k+ofoPqzu2G4zTlZeXLXto16BttsT57CZr1U3bRYpKKfmjpQGMi2UO6kjn1JZEEaYzMHhgRYnx3thTqXkXdtLPAa8T2jkx3OldXo5f/G002eRwmU=

accept;host;x-amz-access-token;x-amz-date;x-amz-security-token
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Response
{"reportType":"GET_RESERVED_INVENTORY_DATA","processingEndTime":"2022-05-17T14:37:19+00:00","processingStatus":"CANCELLED","marketplaceIds":["A1F83G8C2ARO7P"],"reportId":"2080123019129","dataEndTime":"2022-05-17T14:37:03+00:00","createdTime":"2022-05-17T14:37:04+00:00","processingStartTime":"2022-05-17T14:37:10+00:00","dataStartTime":"2022-05-16T00:00:00+00:00"}

Request Id
ccb13a1f-c5f7-47bf-8122-4138029fe57c

Timestamp
Tue, 17 May 2022 14:37:28 GMT

SellerId:
Operation:
MarketplaceId:
RequestId:9737e0d0-45a6-4674-aa75-60522037ec48 ccb13a1f-c5f7-47bf-8122-4138029fe57c
TimeStamp:Tue, 17 May 2022 14:34:38 GMT

@kpconnell
Copy link

Couple things -

  1. See Report Cancellation Reasons are not documented correctly #403, Cancelled doesn't really mean anything in particular at this point.
  2. I believe cancelled is sometimes used as a "throttle", "you are requesting this report too often". Try waiting several hours with no requests then retry.
  3. If you've never had a successful call to one or both of these reports, you might also be missing an undocumented parameter (sometimes you have to give it a begin date (only), sometimes both... its not a good state of affairs with documentation and they changed some of the behavior from MWS..)

@nrogers805
Copy link
Author

Couple things -

  1. See Report Cancellation Reasons are not documented correctly #1329, Cancelled doesn't really mean anything in particular at this point.
  2. I believe cancelled is sometimes used as a "throttle", "you are requesting this report too often". Try waiting several hours with no requests then retry.
  3. If you've never had a successful call to one or both of these reports, you might also be missing an undocumented parameter (sometimes you have to give it a begin date (only), sometimes both... its not a good state of affairs with documentation and they changed some of the behavior from MWS..)

I request it every 2 hours - works fine with MWS

I've raised a case for it so hopefully somebody will actually action it lol

@kpconnell
Copy link

Just trying to help.. sounds like you are a pro..... I know of multiple reports that changed behavior from MWS - example, Returns - No longer list FBA returns. And guess what, status = cancelled when there aren't any MFN returns. 2nd example: GET_FBA_MYI_UNSUPPRESSED_INVENTORY_DATA requires a start date (and didn't in MWS). Status = FATAL if you don't.

@nrogers805
Copy link
Author

Just trying to help.. sounds like you are a pro..... I know of multiple reports that changed behavior from MWS - example, Returns - No longer list FBA returns. And guess what, status = cancelled when there aren't any MFN returns. 2nd example: GET_FBA_MYI_UNSUPPRESSED_INVENTORY_DATA requires a start date (and didn't in MWS). Status = FATAL if you don't.

Had a reply stating that if the report is empty then the status is set to cancelled...total nonsense as getting plenty of empty reports with status done - they really are clueless !

@github-actions
Copy link

This is a very old issue that is probably not getting as much attention as it deserves. We encourage you to check if this is still an issue after the latest release and if you find that this is still a problem, please feel free to open a new issue and make a reference to this one.

@github-actions github-actions bot added the closing soon This issue will be closed soon label Nov 15, 2022
@github-actions
Copy link

closed for inactivity

@shreeharsh-a shreeharsh-a transferred this issue from amzn/selling-partner-api-docs May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closing soon This issue will be closed soon
Projects
None yet
Development

No branches or pull requests

2 participants