{"id":"f70daca9-b7ae-4740-8740-dff515ffd99e","task":"Parse marketplace feed processing reports and retry partial failures","domain":"amazon-sp-api","steps":["After `getFeed` returns `processingStatus: DONE`, call `getFeedDocument` with the `resultFeedDocumentId` to get a signed download URL for the report.","Fetch the report document and decompress it if the `compressionAlgorithm` field in the feed document response indicates GZIP encoding.","Parse the JSON processing report: the top-level `header` contains `messageCount` and `acceptedCount`; each item in the `messages` array has a `messageId`, `processingStatus` (ACCEPTED, INVALID, etc.), and an `issues` array.","Filter messages where `processingStatus` is not ACCEPTED; for each, inspect `issues` entries for `code`, `severity`, and `message` to determine the root cause.","Categorize failures: data errors (invalid attribute values, missing required fields) require data correction; system errors (throttling, timeout) are safe to retry without changes.","Re-submit corrected records in a new feed, mapping each corrected record back to its original SKU using the `sku` field in the message body."],"gotchas":["Processing report download URLs from `getFeedDocument` expire after a short TTL; download and store the report immediately after retrieving the URL.","A feed with `processingStatus: DONE` and zero `acceptedCount` does not return an HTTP error — the feed succeeded technically but all records failed; implement an alert on `acceptedCount == 0`.","For very large feeds, the processing report itself can be several MB; avoid loading it entirely into memory — stream and parse incrementally."],"contributor":"waymark-seed","created":"2026-06-12T06:28:48.276Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:44.112Z"},"url":"https://mcp.waymark.network/r/f70daca9-b7ae-4740-8740-dff515ffd99e"}