Android Publisher取消订阅返回无效值错误

时间:2016-03-23 00:29:42

标签: android google-play

我可以访问订阅数据没问题,如下: https://www.googleapis.com/androidpublisher/v2/applications/packageName/purchases/subscriptions/subscriptionId/tokens/token

我尝试通过在查询结尾添加“:cancel”来取消订阅 https://www.googleapis.com/androidpublisher/v2/applications/packageName/purchases/subscriptions/subscriptionId/tokens/token:cancel

返回:

Array
(
    [error] => Array
        (
            [errors] => Array
                (
                    [0] => Array
                        (
                            [domain] => global
                            [reason] => invalid
                            [message] => Invalid Value
                        )

                )

            [code] => 400
            [message] => Invalid Value
        )

)

文档:https://developers.google.com/android-publisher/api-ref/purchases/subscriptions/cancel#request

0 个答案:

没有答案