whitebox-co / walmart-marketplace-api

A fully typed TypeScript, Javascript, and Node.js API library for the Walmart Marketplace API
MIT License
25 stars 10 forks source link

getReconReport no acceptable representation #180

Open max0783 opened 6 months ago

max0783 commented 6 months ago

Describe the bug getReconReportV1 and getReconReport not working:

{
  status: 'ERROR',
  error: {
    source: 'mp-payment-reporting-app-US',
    message: 'Could not find acceptable representation',
    hint: 'org.springframework.web.HttpMediaTypeNotAcceptableException'
  }

To Reproduce

const reportsApi = await walmartApi.getConfiguredApi(ReportsApi);

  requestParams = {
    reportDate: "12192023",
    reportVersion: "V1"
  };
  const reconReport = await reportsApi.getReconReportV1(requestParams);
  console.log(reconReport)

Desktop (please complete the following information):

Additional context I don't know if this is currently maintained or not, or if I'm doing something wrong. Worked perfectly for orders and report dates, I can't fix this one up.