sendAttemptResult
The success or error information the App Store server records when it attempts to send an App Store server notification to your server.
Declaration
string sendAttemptResultPossible Values
SUCCESSThe App Store server received a success response when it sent the notification to your server.
CIRCULAR_REDIRECTThe App Store server detected a continual redirect. Check your server’s redirects for a circular redirect loop.
INVALID_RESPONSEThe App Store server received an invalid response from your server.
NO_RESPONSEThe App Store server didn’t receive a valid HTTP response from your server.
OTHERAnother error occurred that prevented your server from receiving the notification.
PREMATURE_CLOSEThe App Store server’s connection to your server was closed while the send was in progress.
SOCKET_ISSUEA network error caused the notification attempt to fail.
TIMED_OUTThe App Store server didn’t get a response from your server and timed out. Check that your server isn’t processing messages in line.
TLS_ISSUEThe App Store server couldn’t establish a TLS session or validate your certificate. Check that your server has a valid certificate and supports Transport Layer Security (TLS) protocol 1.2 or later.
UNSUCCESSFUL_HTTP_RESPONSE_CODEThe App Store server didn’t receive an
HTTP 200response from your server.UNSUPPORTED_CHARSETThe App Store server doesn’t support the supplied charset.
Discussion
The Get Notification History and Get Test Notification Status endpoints return a sendAttemptResult for each notification attempt in their responses. This value describes the success or error the server encountered on its attempt to send the notification to your server.
In the production environment, the App Store server retries sending the notfications if it doesn’t receive a 200 response from your server. Your server may have successfully received the notification on the App Store server’s subsequent attempt if the sendAttemptResult value shows an error.
In the sandbox environment, the App Store server attempts to send the notification one time.
For more information about the timing of retry attempts, see Responding to App Store Server Notifications.