首页

苹果销售数据API报错FORBIDDEN.REQUIRED_AGREEMENTS_MISSING_OR_EXPIRED

最近公司的苹果内购抓取接口一直报错返回403代码。开始以为是密钥过期了,去苹果后台看了说明密钥是长期有效的,问了同事都没人动过。排查报错日志详情发现苹果接口返回: <code> { "errors" : [ { "id" : "XXXXXXXXXX", "status" : "403", "code" : "FORBIDDEN.REQUIRED_AGREEMENTS_MISSING_OR_EXPIRED", "title" : "A required agreement is missing or has expired.", "detail" : "This request requires an in-effect agreement that has not been signed or has expired.", "links" : { "see" : "/agreements" } } ] } </code> 原来是苹果更新了开发者协议,必须登苹果主号然后打开链接https://developer.apple.com/account/#!/overview/D8KF282UZZ,在弹出的协议中点agreement就可以了。不得不说苹果真是刚。
更多>>
mysql的json查询 一场由php双问号和空字符串引起的血案 支付宝周期付款(alipay连续包月)入坑指南 laravel获取redis类型的Cache缓存剩余过期时间TTL docker学习笔记