Skip to main content
Question

[Log] Revenuecat backend errors


Forum|alt.badge.img+7
  • Dedicated Member
  • 31 replies

In the last 24 hours I have been having issues connecting to iOS store with revenueCat.  here are the logs, from a “production” bundle

ERROR: 😿‼️ The operation couldn’t be completed. (RevenueCat.BackendError error 0.)

 

error	21:32:38.863784-0600	IdentaFly	WARN: 🍎⚠️ StoreKit 2 product request took longer than expected (83.86 seconds)
error	21:32:39.133027-0600	IdentaFly	WARN: 🍎⚠️ StoreKit 2 product request took longer than expected (84.12 seconds)
error	21:32:40.346549-0600	storekitd	AMSURLSession: [2e64_SK2] Session decoder failed. Result = (null); Error = Error Domain=AMSErrorDomain Code=301 "Invalid Status Code" UserInfo={NSLocalizedFailureReason=The response has an invalid status code, AMSURL=https://sandbox.itunes.apple.com/commerce/messages/app/inbox?bundleId=com.identafly.production&guid=00008110-0005046601E2801E&status=1, AMSStatusCode=410, NSLocalizedDescription=Invalid Status Code}
error	21:32:40.346623-0600	storekitd	AMSURLSession: [2e64_SK2] Task completed with error = Error Domain=AMSErrorDomain Code=301 "Invalid Status Code" UserInfo={NSLocalizedFailureReason=The response has an invalid status code, AMSURL=https://sandbox.itunes.apple.com/commerce/messages/app/inbox?bundleId=com.identafly.production&guid=00008110-0005046601E2801E&status=1, AMSStatusCode=410, NSLocalizedDescription=Invalid Status Code}
error	21:32:40.346756-0600	storekitd	[98574856] Error checking messages: Error Domain=AMSErrorDomain Code=301 "Invalid Status Code" UserInfo={NSLocalizedFailureReason=The response has an invalid status code, AMSURL=https://sandbox.itunes.apple.com/commerce/messages/app/inbox?bundleId=com.identafly.production&guid=00008110-0005046601E2801E&status=1, AMSStatusCode=410, NSLocalizedDescription=Invalid Status Code}
error	21:32:40.711297-0600	storekitd	AMSURLSession: [2e64_SK2] Session decoder failed. Result = (null); Error = Error Domain=AMSErrorDomain Code=301 "Invalid Status Code" UserInfo={NSLocalizedFailureReason=The response has an invalid status code, AMSURL=https://sandbox.itunes.apple.com/commerce/messages/app/inbox?bundleId=com.identafly.production&guid=00008110-0005046601E2801E&status=1, AMSStatusCode=410, NSLocalizedDescription=Invalid Status Code}
error	21:32:40.711426-0600	storekitd	AMSURLSession: [2e64_SK2] Task completed with error = Error Domain=AMSErrorDomain Code=301 "Invalid Status Code" UserInfo={NSLocalizedFailureReason=The response has an invalid status code, AMSURL=https://sandbox.itunes.apple.com/commerce/messages/app/inbox?bundleId=com.identafly.production&guid=00008110-0005046601E2801E&status=1, AMSStatusCode=410, NSLocalizedDescription=Invalid Status Code}
error	21:32:40.711569-0600	storekitd	[356D2E73] Error checking messages: Error Domain=AMSErrorDomain Code=301 "Invalid Status Code" UserInfo={NSLocalizedFailureReason=The response has an invalid status code, AMSURL=https://sandbox.itunes.apple.com/commerce/messages/app/inbox?bundleId=com.identafly.production&guid=00008110-0005046601E2801E&status=1, AMSStatusCode=410, NSLocalizedDescription=Invalid Status Code}
error	21:32:54.720068-0600	IdentaFly	nw_read_request_report [C12] Receive failed with error "Socket is not connected"
error	21:32:54.720223-0600	IdentaFly	nw_read_request_report [C12] Receive failed with error "Socket is not connected"
error	21:32:54.720645-0600	IdentaFly	nw_read_request_report [C12] Receive failed with error "Socket is not connected"
error	21:32:54.726589-0600	IdentaFly	nw_read_request_report [C14] Receive failed with error "Socket is not connected"
error	21:32:54.730792-0600	IdentaFly	nw_read_request_report [C14] Receive failed with error "Socket is not connected"
error	21:32:54.733546-0600	IdentaFly	nw_read_request_report [C16] Receive failed with error "Software caused connection abort"
error	21:32:54.741267-0600	IdentaFly	quic_conn_send_frames_for_key_state_block_invoke [C12.1.2.1:2] [-0127568816418fd7d92591881d41adc73e81239b] unable to request outbound data
error	21:32:54.741342-0600	IdentaFly	quic_conn_send_frames_for_key_state_block_invoke [C12.1.2.1:2] [-0127568816418fd7d92591881d41adc73e81239b] unable to request outbound data
error	21:32:54.746402-0600	IdentaFly	nw_endpoint_flow_fillout_data_transfer_snapshot copy_info() returned NULL
error	21:32:54.754324-0600	IdentaFly	Task <F4C7831F-22A9-44E6-879E-EEA3DCB2CD80>.<2> HTTP load failed, 11613/0 bytes (error code: -1005 [1:53])
error	21:32:54.764714-0600	IdentaFly	Task <F4C7831F-22A9-44E6-879E-EEA3DCB2CD80>.<2> finished with error [-1005] Error Domain=NSURLErrorDomain Code=-1005 UserInfo={_kCFStreamErrorCodeKey=53, NSUnderlyingError=0x300a9c630 {Error Domain=kCFErrorDomainCFNetwork Code=-1005 UserInfo={_kCFStreamErrorCodeKey=53, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=<private>, _NSURLErrorRelatedURLSessionTaskErrorKey=<private>, NSLocalizedDescription=<private>, NSErrorFailingURLStringKey=<private>, NSErrorFailingURLKey=<private>, _kCFStreamErrorDomainKey=1}
error	21:32:54.783099-0600	IdentaFly	ERROR: 😿‼️ The operation couldn’t be completed. (RevenueCat.BackendError error 0.)
fault	21:32:55.275580-0600	IdentaFly	__delegate_identifier__:Performance Diagnostics__:::____message__: This method can cause UI unresponsiveness if invoked on the main thread. Instead, consider waiting for the `-locationManagerDidChangeAuthorization:` callback and checking `authorizationStatus` first.
fault	21:32:55.288037-0600	IdentaFly	__delegate_identifier__:Performance Diagnostics__:::____message__: This method can cause UI unresponsiveness if invoked on the main thread. Instead, consider waiting for the `-locationManagerDidChangeAuthorization:` callback and checking `authorizationStatus` first.


Has anything changed recently?  This was a non-issue the other day.  I can’t tell if it’s testflight & dev related or a true issue with storekit. 

This occurs when I try to purchase a package.  You can see the log error related to sandbox URL:
AMSURLSession: [471ADE95] Task completed with error = Error Domain=AMSErrorDomain Code=301 "Invalid Status Code" UserInfo={NSLocalizedFailureReason=The response has an invalid status code, AMSURL=https://sandbox.itunes.apple.com/commerce/messages/app/inbox?bundleId=com.identafly.production&guid=00008110-0005046601E2801E&status=1, AMSStatusCode=410, NSLocalizedDescription=Invalid Status Code}

 

Please advise.  It is blocking me from dev & testing for a release.

This post has been closed for comments

3 replies

"The same issue is occurring in Flutter."


Forum|alt.badge.img+7
  • Author
  • Dedicated Member
  • 31 replies
  • October 12, 2024

I should add: this happens on iOS, when a user presses the "purchase" button click which triggers thePurchases.purchasePackage(purchasePackage); from this API.

 


jeffrey_bunn
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 240 replies
  • October 21, 2024

@lucksp Thanks for sharing this. You mentioned this is a production build, but is this happening in TestFlight (or Sandbox) during your testing, or are you seeing this with users attempting to purchase via the App Store? Also, did you recently update your SDK to a version that uses StoreKit2 (iOS SDK > 5.0.0)? If so (and if this is during your testing), you may have to Restore Purchases before attempting to make a Sandbox purchase. It’s also a good practice to create a new Sandbox user and see if the error persists.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings