I've followed the complete steps to access the API as described by Google here: https://developers.google.com/android-publisher/authorization.
I have managed to get a refresh token, and am fetching a new access token when my existing one expires. So now I am trying to get information about a valid subscription using:
GET https://www.googleapis.com/androidpublisher/v1/applications/<packageName>/subscriptions/<subscriptionId>/purchases/<token>?access_token=<myAccessToken>
but the only response I get back is:
{
"error": {
"code": 500,
"message": null
}
}
Has anyone come across this problem before? I am currently testing with an unpublished application, although the subscription is published so the packageName
, subscriptionId
and token
should be valid.