首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >指定的供应商编号无效。再试试。- App Store Connect API

指定的供应商编号无效。再试试。- App Store Connect API
EN

Stack Overflow用户
提问于 2018-11-30 21:30:50
回答 1查看 1K关注 0票数 5
代码语言:javascript
复制
{
    "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

我得到了这个错误。在此API中,仅使用此参数。其他人为我工作得很好。有没有人能找到解决方案请回答。

https://developer.apple.com/documentation/appstoreconnectapi/download_sales_and_trends_reports

我遵循文档中的所有步骤,但我不知道哪里做错了。:(悲伤

EN

回答 1

Stack Overflow用户

发布于 2019-06-28 21:45:48

我遇到了同样的错误,但我不确定我的解决方案是否与您的解决方案相同。我的问题是,我将reportType设置为SALES,将reportSubType设置为DETAILED,根据此页面底部的表格,这是不允许的:

https://developer.apple.com/documentation/appstoreconnectapi/download_sales_and_trends_reports

这导致了关于供应商ID的误导性错误,类似于您所看到的

票数 8
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/53558540

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档