NSURLSessionDataTask changes between iOS 16 to iOS 17?

I have an issue where performing a 'POST' request fails with a 400 when done on a device running iOS 16, but succeeds with a 200 on devices running iOS 17. I have not been able to find any explanations for this behavior. I've checked the request on both versions and it's identical in both versions of iOS, as far as I can tell.

BodyStream : JSON object data

Headers : Content-Type:application/json

TimeoutInterval: 900

That error is almost certainly coming from your server. For advice on how to debug such issues, see Debugging HTTP Server-Side Errors.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

NSURLSessionDataTask changes between iOS 16 to iOS 17?
 
 
Q