error 500000 while trying to validate transaction id on api.storekit

Hi there, not sure why we are getting this error on both sandbox and non-sandbox api {"errorCode":5000000,"errorMessage":"An unknown error occurred."}

regardless of what transaction id, it all returns that. our Cert is good, able to authenticate with api, just can't GET /inApps/v1/history/12345

Any further insights on what 500000 might caused by?

FYI - this process worked a few weeks ago

Testing with iOS device, running via XCODE, making purchase via IAP capture the transaction ID then use curl to GET the URL with JWT token included

No authentication issues with token IAP cert is good

Post not yet marked as solved Up vote post of jimji100580 Down vote post of jimji100580
778 views
  • I am currently getting this error too. (in Japan)

    I checked the issue using curl. curl -v -H 'Authorization: Bearer [signed token]' "https://api.storekit.itunes.apple.com/inApps/v1/subscriptions/%7Boriginal_transaction_id%7D"

Add a Comment

Replies

We've been getting 500000 from one of our apps when calling the subscription status GET API in the sandbox environment since about 10 hours ago.

GET https://api.storekit-sandbox.itunes.apple.com/inApps/v1/subscriptions/{originalTransactionId}

Production environment seems to be unaffected at the moment. Nonetheless seems like a problem on Apple's end?

We are also experiencing this error when calling GET https://api.storekit-sandbox.itunes.apple.com/inApps/v1/subscriptions/{originalTransactionId}. Came to light during automated tests. But the error hasn't been consistent. We run tests twice a day, and sometimes they passed, sometimes they didn't. We've gotten this error code a few times from a few other users in production when I query. I guess it's just a general error code. But it is a recent change that's causing this because our tests were always working before.

Apple seems to have fixed this as we mostly stopped getting the error 5 hours ago.

@crauss77 We are also not getting the error anymore now, but we're getting the following response for a sandbox account that has a definite purchase history:

    [environment] => Sandbox
    [bundleId] => com.brainpop.brainpopfeaturedmovie
    [data] => Array
        (
        )

Is it all working for you?