Nostraddeveloper documentationDocumentationDeveloper console

Selling errors

Errors

A refusal answers { "error": "...", "detail": "..." }. error is Google Play's name where there is one.

StatuserrorMeaning
400developer_errorSomething in the request isn't valid; detail says what
400invalid_purchase_stateThis purchase was already consumed, so it can't be acknowledged. Check it with GET /v1/purchases/<token>
401unauthorizedNo token, or one that ran out or was taken away
403needs_sign_inThis command takes the person's sign-in token, not an API key
403sales_permission_neededThis command needs an API key of this app with Sales ticked
403billing_unavailableThis person's account can't buy right now
404unavailableNot on sale, or not for this person (a personal app and someone who isn't a tester)
404not_foundNo such order, or test notification, in this app
404no_refund_requestThe buyer hasn't asked for a refund of this purchase
409already_ownedThey own it already: restore with GET /v1/purchases
409not_ownedNo such purchase in this app, or it was taken back
409already_refundedRefunded in full already
409refund_too_oldOrders older than 3 years can't be refunded
409no_notify_urlSet the notifications address in the console first
409pending_acknowledgementAcknowledge this subscription first
410no_longer_availableThis subscription ended more than 60 days ago
503service_unavailableNostrad couldn't answer just now: try again