21007 Status Code being returned by Sandbox Verify Receipt Endpoint

We have an issue with validating in-app purchases which just seemed to start occurring today. When you send a sandbox receipt to the production endpoint (https://buy.itunes.apple.com/verifyReceipt), it returns the status code 21007 with the message.

This receipt is from the test environment, but it was sent to the production environment for verification.

This is documented here:
https://developer.apple.com/documentation/appstorereceipts/status

It is then advised to attempt this receipt on the sandbox endpoint (https://sandbox.itunes.apple.com/verifyReceipt) due to the status code returned.

We have used this successfully for about a year now. We check the status code and if it is 21007, we then try the sandbox endpoint. As of today, we started seeing that the sandbox endpoint is returning a 21007 status code which does not make sense and threw our API into a recursive loop since it kept seeing that status and kept trying the sandbox endpoint. This status code is clearly wrong as it was not 'sent to the production environment' in these cases and this status code has never been returned in the past from the sandbox endpoint.

Is this a bug introduced by Apple as of today or has something changed that I have not seen the documentation for?
Answered by i Jana in 666503022
it's working now
Facing the same issue.
I also got this problem!
Inception is here. Also got the same problem. :)
The same issue.
SAME HERE,
all wrong!
facing the same issue
We have the same issue too
Same thing is happening here.
Same here!
I'm still receiving this error when attempting to validate a dev receipt against the Sandbox as of 2021-03-12 9:00AM PST. This is causing a bit of issues during our development while trying to run receipt verification tests.
My team is also facing this issue.
FYI, I have submitted an official bug report through the Feedback Assistant app. I will let you all know if and when I hear back from Apple.
Facing the same issue.
We too are facing this issue since today morning... and took us about couple of hours to identify the cause.

Apple please fix this.
As of now, it's working for me.

However, because of this and Apple's apparent lack of communication, we'll be implementing our own backup system, independent of receipt validation.
21007 Status Code being returned by Sandbox Verify Receipt Endpoint
 
 
Q