When does AccountNotFound get returned from "Get All Subscription Statuses"?

Hi, I’m investigating switching from the /verifyReceipt endpoint to the App Store Server API.

I’ve noticed that some transaction IDs we have in our system return 4040001 (AccountNotFound) from the “Get All Subscription Statuses” endpoint.

These transaction IDs are associated with receipts that used to verify OK with the /verifyReceipt endpoint, but now return 21010 (receipt unauthorized).

Under what circumstances do transactions which used to be valid start returning “account not found”?

Answered by App Store Commerce Engineer in 760677022

https://developer.apple.com/documentation/appstorereceipts/status

21010 The system can’t find the user account or the user account has been deleted.

Accepted Answer

https://developer.apple.com/documentation/appstorereceipts/status

21010 The system can’t find the user account or the user account has been deleted.

If you feel any are inaccurate or suspicious, feel free to file them in a ticket to be investigated. http://feedbackassistant.apple.com

Thanks for your reply! I’m interpreting what you’ve said to mean “the user’s App Store account has been deleted.” None in particular seemed suspicious, I was just a little surprised at the incidence rate for this error code. Among our receipts is slightly more than 1/1000, which seems a little high to me.

But frankly the major confusion was I had 21010 down as “unauthorized” rather than “account not found” and I thought the difference in error code was strange. Thanks @App Store Commerce Engineer

When does AccountNotFound get returned from "Get All Subscription Statuses"?
 
 
Q