Search results for

Request failed with http status code 503

190,658 results found

Post

Replies

Boosts

Views

Activity

Reply to How to Modify User Account by Appstoreconnect API
Thanks, this is exactly the library I'm using in my project, but I get this error: so I was trying to understand how to shape the visibleApp value. Request failed with status code 409 and response { errors : [ { id : 96762428-38c5-45c5-a700-fadd798fe012, status : 409, code : ENTITY_ERROR.RELATIONSHIP.INVALID, title : The provided entity includes a relationship with an invalid value, detail : The relationship 'visibleApps' expects data as an array but an object was given., source : { pointer : /data/relationships/visibleApps } } ]}).
May ’20
Apple Pay c#. Response status code does not indicate success: 417 (Expectation Failed)
On step onvalidatemerchant I call service that make response to apple and should returns apple session, when I make request to Apple apple enpoint returns 417 code.I'm trying to get merchant session from Apple Pay Sandbox but my code always returns an error 417 (Expectation Failed). I tried different ways with WebRequestHandler, httpclient, different headers but result is the same.Example of my service logic:static void Main(string[] args) { ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; ServicePointManager.Expect100Continue = false; using (var httpClient = GetSecureHttpClient()) { var jsonData = {merchantIdentifier : merchant.com.domain.www, domainName : www.domain.com, displayName : MySite }; using (var content = new StringContent(jsonData, Encoding.UTF8, application/json)) { try { httpClient.DefaultRequestHeaders.ExpectContinue = false; using (var response = httpClient.PostAsync(https://apple-pay-gateway-cert.apple.com/paymentservices/startSession, co
0
0
1.7k
Nov ’17
Reply to Status Code 21007 being returned by App Store Sandbox verify receipt endpoint
Ah ha! Here's what's going on: there's the HTTP status code, and then the responseObject status code, and that's not at all clear in the documentation. The HTTP status code will come back 200, from the production URL when you are supposed to retry with sandbox URL, because that's not the status to check: the 21007 code is the status inside the response object with the status code 200.
Oct ’22
iAd Code in WWDC Session 503 does not work
Recommendation is as follows for AppDelegate.swift: func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { UIViewController.prepareInterstitialAds() return trueException is:2015-08-16 10:51:54.555 troubleiAd[46052:7032519] +[UIViewController prepareInterstitialAds]: unrecognized selector sent to class 0x10e4788702015-08-16 10:51:54.558 troubleiAd[46052:7032519] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[UIViewController prepareInterstitialAds]: unrecognized selector sent to class 0x10e478870'*** First throw call stack:( 0 CoreFoundation 0x000000010cc239b5 __exceptionPreprocess + 165 1 libobjc.A.dylib 0x000000010ec16deb objc_exception_throw + 48 2 CoreFoundation 0x000000010cc2bedd +[NSObject(NSObject) doesNotRecognizeSelector:] + 205 3 CoreFoundation 0x000000010cb799fa ___forwarding___ + 970 4 CoreFoundation 0x000000010cb795a8 _CF_forwarding_prep_0 + 120 5 troubleiAd 0x000000010ca3cf04 _TFC10trou
0
0
219
Aug ’15
Reply to Error Fetching App Record on Validate
Same here (Xcode Version 13.4.1 (13F100): Fetching app record -> Error Fetching App Record (App record request failed with error: Unexpected Status Code) I've tried restarting Xcode, restarting computer, removing / re-adding my credentials, but no luck. I've seen it failing for all sorts of reasons this morning... Maybe Apple are having server issues?
Jul ’22
Reply to Xcode Cloud builds failing with random 502 errors when resolving packages
Also seeing this. Our builds are giving: Command exited with non-zero exit-code: 128 fatal: unable to access 'https://github.com/my-project-repo.git/': The requested URL returned error: 502 Your SCM service 'github.com' failed to respond, please check that it's available and while resolving package dependencies they all: error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502
May ’24
Reply to How to wait for a function call inside a loop
When you make a request, you will always get s response, which you should be checking. If the HTTP status code is valid (say 200, 201, or 204) then you can kick off the next request in the completion handler. You can setup a little structure to describe the expected interaction and use that to give your program a more iterative architecture.
Topic: Programming Languages SubTopic: Swift Tags:
Apr ’19
Extraneous http request being made by AVFoundation
We're using AVPlayer on iOS 8.4 to play HLS, AES-encrypted video.Our .m3u8 files include the url of the license server, e.g.:#EXT-X-KEY:METHOD=AES-128,URI=https://....In our iOS application, we're using AVAssetResourceLoaderDelegate methodresourceLoader:shouldWaitForLoadingOfRequestedResource:to intercept the request that gets sent by the AVPlayer (or some object within AVFoundation) to the license server. Within that method, we add a token (required by the license server) to the request's queryString.The license server receives the request with the token, returns the encryption key, and playback begins. In other words, everything works as expected.However, we're noticing (using the Charles http monitor) that following the creation of the AVPlayerItem and prior to the invocation of the resourceLoader: method, AVFoundation sends an initial request to the license server url; a request that's not routed through method resourceLoader:. This request
4
0
1.4k
Jul ’15
iAd interstitials fail to request after first fail.
Firstly, Im not the coder of my app so flying somewhat blind here sorry. My developers have hit a wall and are unable to find the source of the problem below.My app is a music visualizer and is set up to play full screen interstitial iAds before the first song is shown and then at the start of every third song, so generally there should be at least 5-6 minutes between ad displays if it were working correctly.My problem is that in the instance of an iAd failing to load this seems to trigger the app to no longer send any further ad requests until next restart of the app. I have seen the app load 1-2 ads in a row successfully at the start, but then no more are received. I have also seen on one occasion the app NOT display an ad before the first song but then show an ad at the start of the third song (so this may mean that an ad has to show at least once before the bug raises its head, if that is a clue?).I have looked at my iad stats after playing long sessions of the app when I would have expe
2
0
647
Jan ’16
Reply to Weatherkit Rest API 500 errors this morning
I didn't look at why my requests were failing (error code/ timing out) - but yes. For about an hour this morning I don't seem to have gotten many 200 responses from the API. The API remains unreliable. It cannot be used for production without a backup weather source in place. It doesn't help that we don't get any information from Apple other than number of requests (response time? return code? hello?). And that WeatherKit always just shows Green as its status.
Topic: App & System Services SubTopic: General Tags:
Mar ’23
WeatherKit request fail
Hello, I have an app on the App Store built around WeatherKit and it was working fine, up until this morning when I started seeing errors when using the app. When debugging using Xcode I see the familiar error Failed to generate jwt token for: com.apple.weatherkit.authservice with error: Error Domain=WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 (null) which, according to what I've read on the forums looks like an authentication error. Attaching a network debugger to the Simulator, I saw this error: This I have tried: Verify that WeatherKit is enabled on both Capabilities and App Services tabs on the Dev Portal. Toggle on/off this value and regenerate Provisioning Profiles Uninstall/reinstall Checking that I have API available calls. Nothing. If I create a new Bundle ID and sign with that, it works correctly. But this is not an option since that will force all my customers to download everything from scratch. I am getting emails from customers demanding money back and I can'
6
0
517
Jan ’25