Significant delay in Transaction ID availability via App Store Server API (Error 4040010)

Hi everyone,

I’ve been encountering a recurring issue with the App Store Server API over the past 48 hours, specifically regarding the Get Transaction Info endpoint.

Endpoint: GET /inApps/v1/transactions/{transactionId} Environment: Production Error Code: 4040010 (TransactionIdNotFound)

The Issue When a user completes a purchase in our app, the client-side sends the transactionId to our backend for validation. However, when our server immediately calls the Get Transaction Info API using that ID, it frequently returns a 4040010 error, stating that the transaction ID cannot be found.

Key Observations Eventual Consistency Delay: If we implement a retry logic and wait for 2 to 5 minutes, the exact same transactionId eventually becomes queryable and returns a valid signedTransactionInfo.

Notifications vs. API: Interestingly, our server receives the App Store Server Notifications V2 (webhook) for these transactions almost instantly. The notifications contain the correct data, but the "Pull" API seems to lag behind the "Push" notification system.

Recent Spikes: This behavior started occurring frequently within the last 2 days. Prior to this, the API was almost always near-instant.

Questions Has anyone else noticed a spike in 4040010 errors or increased indexing latency in the Production environment recently?

Is there a recommended "grace period" or backoff strategy when querying for a new transactionId? Apple's documentation doesn't explicitly mention an expected delay between a successful purchase and its availability via the Server API.

Any insights or confirmation of similar issues would be greatly appreciated!

Please submit a feedback assistant ticket at (http://feedbackassistant.apple.com). Please provide as much information as possible, ie a sysdiagnose, app apple ID, in-app apple IDs, sandbox account apple ID (if applicable), transactions IDs, steps to reproduce and other relevant details.

  • File ticket under iOS & iPadOS, macOS, tvOS, watchOS, or visionOS and ensure you select “App Store” for the question “Which area are you seeing an issue with?”
  • Categorize the type of feedback
  • Please attach all available files needed to verify

After submitting the feedback, please regularly check the ticket as we'll only communicate through it from then on.

Once you open the Feedback Assistant Ticket report, please post the FB number here for reference.

If you have any questions about filing a report, take a look at Bug Reporting: How and Why (https://developer.apple.com/forums/thread/712889)?

Significant delay in Transaction ID availability via App Store Server API (Error 4040010)
 
 
Q