Sandbox test of Get All Subscription Statuses returning empty data property

I'm trying to test getting subscription status from the sandbox App Store Server API with a originalTransactionId generated from a TestFlight build of my app. I'm hitting the endpoint correctly and getting a 200 response with the following JSON:

{"environment":"Sandbox","bundleId":"","data":[]}

Why is the data property an empty array, instead of containing the subscription and signed transaction details?

(In case it's not clear I removed the bundleId value but it is the expected app bundle id)

Solved: turns out I was using a bundle id as part of signing the request headers that was not the same bundle associated with the sandbox subscription product. Switched to the correct one and the data was returned as expected.

This typically means that the Sandbox user has no auto-renewable subscriptions for the app you indicated with the bundleId. Make sure the user has purchased at least one subscription in the Sandbox environment inside the app, prior to calling this endpoint. If you think there might be an issue, please file a feedback ticket and post the FB number here so we can take a closer look at your specific case. Please include as much information as you can, including the request, response, and all headers. 

http://feedbackassistant.apple.com

I see now this was resolved - glad to hear it!

Sandbox test of Get All Subscription Statuses returning empty data property
 
 
Q