title: Invalid vendor number specified. Try again. - App Store Connect API
body: <pre><code>{
      "errors": [
          {
              "id": "xxxxxxx-xxxx-yyyy-yyyy-yyyyyyyyy",
              "status": "400",
              "code": "PARAMETER_ERROR.INVALID",
              "title": "A parameter has an invalid value",
              "detail": "Invalid vendor number specified. Try again.",
              "source": {
                  "parameter": "filter[vendorNumber]"
              }
          }
      ]
  }
  
    https://api.appstoreconnect.apple.com/v1/salesReports
  
    filter[reportSubType] = OPT_IN
    filter[version] = 1_0
    filter[reportType] = SALES
    filter[frequency] = WEEKLY
    filter[reportDate] = 2018-10-07
    filter[vendorNumber] = XXXXXXXX
  </code></pre>
  
  <p>Am getting this error. In this API only with this params. Others are working fine for me. Is anyone find the Solution Please answer it.</p>
  
  <p><a href="https://developer.apple.com/documentation/appstoreconnectapi/download_sales_and_trends_reports" rel="noreferrer">https://developer.apple.com/documentation/appstoreconnectapi/download_sales_and_trends_reports</a></p>
  
  <p>Am following all steps in the documentation but i don't know what am doing wrong. :( sad</p>