Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7531597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T05:12:53+00:00 2026-05-30T05:12:53+00:00

I’m writing StoreKit-related code, and I’m getting some rather troubling error codes when I

  • 0

I’m writing StoreKit-related code, and I’m getting some rather troubling error codes when I try to add a purchase to the queue.

So far, I’ve experienced error codes -1003 and -1004 and I can’t find anything about those codes on the internet.

Running a product request returns valid product numbers, so I don’t know why calls to [[SKPaymentQueue defaultQueue] addPayment:aPayment]; would fail with this undocumented problem.

The same code also works without the errors on one device but not on another.

The questions I have are, as of yet, unanswered:

What do these codes mean?
How can I mitigate this problem?
Why are they happening for purchase attempts and not for product requests?

Troubleshooting I’ve done includes regenerating a signing certificate and provisioning profile, changing WiFi networks, cleaning and building and reinstalling all related software and components, and none of these things individually or together have helped fix the problem.

EDIT:

Found a discussion about this on the Apple dev forums, but no one from Apple has responded: https://devforums.apple.com/thread/107121?tstart=75 (iOS developer account required to view)

EDIT:

I was hit with error code -1001 today, to add to this list of inexplicable and intermittent problems. Still no accountability from Apple, that I can find.

EDIT:

I have a suspicion that these error codes are randomly generated and really only indicate that the Sandbox is down. Anyone else experience this problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T05:12:55+00:00Added an answer on May 30, 2026 at 5:12 am

    All error codes are on “CFNetwork Errors Codes References” on the documentation (link)

    A small extraction for CFURL and CFURLConnection Errors:

      kCFURLErrorUnknown   = -998,
      kCFURLErrorCancelled = -999,
      kCFURLErrorBadURL    = -1000,
      kCFURLErrorTimedOut  = -1001,
      kCFURLErrorUnsupportedURL = -1002,
      kCFURLErrorCannotFindHost = -1003,
      kCFURLErrorCannotConnectToHost    = -1004,
      kCFURLErrorNetworkConnectionLost  = -1005,
      kCFURLErrorDNSLookupFailed        = -1006,
      kCFURLErrorHTTPTooManyRedirects   = -1007,
      kCFURLErrorResourceUnavailable    = -1008,
      kCFURLErrorNotConnectedToInternet = -1009,
      kCFURLErrorRedirectToNonExistentLocation = -1010,
      kCFURLErrorBadServerResponse             = -1011,
      kCFURLErrorUserCancelledAuthentication   = -1012,
      kCFURLErrorUserAuthenticationRequired    = -1013,
      kCFURLErrorZeroByteResource        = -1014,
      kCFURLErrorCannotDecodeRawData     = -1015,
      kCFURLErrorCannotDecodeContentData = -1016,
      kCFURLErrorCannotParseResponse     = -1017,
      kCFURLErrorInternationalRoamingOff = -1018,
      kCFURLErrorCallIsActive               = -1019,
      kCFURLErrorDataNotAllowed             = -1020,
      kCFURLErrorRequestBodyStreamExhausted = -1021,
      kCFURLErrorFileDoesNotExist           = -1100,
      kCFURLErrorFileIsDirectory            = -1101,
      kCFURLErrorNoPermissionsToReadFile    = -1102,
      kCFURLErrorDataLengthExceedsMaximum   = -1103,
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
For some reason, after submitting a string like this Jack’s Spindle from a text
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am writing an app with both english and french support. The app requests
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I have this code to decode numeric html entities to the UTF8 equivalent character.
That's pretty much it. I'm using Nokogiri to scrape a web page what has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.