Apple review cant call api năm 2024

We use Rest API POST call to connect to some external Https endpoints. This worked for years, but not clients on 16.2 have the problem that out of a sudden the calls are blocked.

Then nothing works, and our app thinks it's offline (for this call) but it's not offline since other services are. The only wat to fix this is to Restart the app fully. Then it's working for some while.

Is their something changed in IOS 16, that its blocking an endpoint when you do to many calls? It's for prints and pin payment, so we do calls like this continuously.

Here the error we get when it goes wrong:

Failed with error sessionTaskFailed(error: Error Domain=NSURLErrorDomain Code=-1009 "De internetverbinding is offline." UserInfo={_kCFStreamErrorCodeKey=50, NSUnderlyingError=0x282afcc30 {Error Domain=kCFErrorDomainCFNetwork Code=-1009 "(null)" UserInfo={_NSURLErrorNWPathKey=satisfied (Path is satisfied), interface: en0[802.11], ipv4, dns, _kCFStreamErrorCodeKey=50, 

First we did do the call like this:

                urlRequest.setValue(self.getToken(), forHTTPHeaderField: "Authorization")
                urlRequest.setValue("text/plain", forHTTPHeaderField: "Content-Type")
                urlRequest.addValue("application/json", forHTTPHeaderField: "Accept")
                urlRequest.httpMethod = "POST"
                urlRequest.httpBody = request.data
                let config = URLSessionConfiguration.default
                config.timeoutIntervalForRequest = TimeInterval(5)
                config.timeoutIntervalForResource = TimeInterval(5)
                config.waitsForConnectivity = false
                let session = URLSession(configuration: config)
                let task = session.dataTask(with: urlRequest) { responseData, response, error in
                    var isPosted = false
                    if let err = error {
                        Logger.debug("AWS-Api: \(request.identifer) - Failed with " +
                                     "error \(err), retrying after few seconds")
                        var newReq = request
                        newReq.noRetry += 1
                        self.addRequest(newReq)
                    } else if let resData = responseData, let res = response {
                        isPosted = self.processAWSResponse(request.identifer,
                                                           data: resData,
                                                           postData: request.data,
                                                           response: res)
                    }
                    session.invalidateAndCancel()
                    return promise(.success(isPosted))
                }
                task.resume()
            }

To debug we also updated it and use Alomfire. But unfortunately both dont work. In IOS 15 no problems are their.

Yes, I get the same thing - it only fails to save when updating any of the 6 app review information fields - updating the Notes field works.

I guess they have a problem

It only happens when trying to update the App Review information

Me too - exact same thing. How am I supposed to submit my app?

it may be a problem about special characters. just look for server's response from chrome developer tools.

It's definitely not special characters. All I am doing is trying to switch the "sign-in required" toggle - no text entered. If I open the log in Chrome I see the following error...

logLevel: "ERROR" message: "API Response Error: SAVEAPPREVIEWDETAILSRESPONSE" stackTrace: "status code: 409 --- api correlation key: LAXXXXXXXXXXXXXXXXXXXXXE"

(Where the *** = a number - don't know if I should share it or not!)

Is there anything weird we might have in common? For example, I have two App Store Connect accounts on my apple ID.

This is disappointing!. It's been several days and apple is not able to give an answer ...

Apple how long do we need to wait, before we can submit our apps!!!

I have the same problem. Can't update App review information

Me too!!! I also tried with two apps and I had the same issue with both apps.

I called Apple, but I haven't solved anything yet

Well ... In my case I did all the steps that Dan T. did and now it's saving! Thanks a lot! You solved the problem before apple. They would have to pay you for it! Haha! Sadly, I can't mark your answer as the solution because apple does not allow me to change the check mark.