Play Android Developer API: verify purchase returns 503 ("backend error")

336 views
Skip to first unread message

Stefan Almer

unread,
Jul 10, 2013, 5:35:15 AM7/10/13
to google-api-...@googlegroups.com
Hi!

I'm using the Play Android Developer API with Google App Engine backend to verify purchases (in-app and subscriptions) to deliver the users content. In detail:

AndroidPublisher publisher = new AndroidPublisher.Builder...
AndroidPublisher.Inapppurchases purchases = publisher.inapppurchases();
InappPurchase purchase = null;
        
try {
    Get get = purchases.get(packageName, productId, purchaseToken);
    purchase = get.execute();
} catch (IOException e) {
    log.log(Level.SEVERE, e.getMessage());
}

Every now and then, the API returns the following response:
{
  "code" : 503,
  "errors" : [ {
    "domain" : "global",
    "message" : "Backend Error",
    "reason" : "backendError"
  } ],
  "message" : "Backend Error"
}

The receipt data is valid - performing the query a few time leads to no error. I can't reproduce it and the problem is, that this error means that verifying the purchase has failed and therefore the user isn't able to the the purchased content.

What is the reason for this error?
Any help is appreciated! Thanks, Stefan

Seungbeom Roh

unread,
Aug 26, 2013, 4:58:08 AM8/26/13
to google-api-...@googlegroups.com
I've got the same problem.
Have you discovered any solution for this?

Thanks,
Seungbeom Roh

David Bullock

unread,
Aug 26, 2013, 9:42:05 AM8/26/13
to google-api-...@googlegroups.com

Probably just teething troubles with one of the NSA's latest 'integrations'.

--
You received this message because you are subscribed to the Google Groups "google-api-java-client" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-api-java-c...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages