For our iOS application I am using AWS server and for a particular API I am always getting failed with error "API failed with error Error Domain=NSURLErrorDomain Code=-1003. A server with the specified hostname could not be found."
I am using AFNetworking for making API request.
Any hints as to where I might be going wrong? Whether its as API/Server issue or a client/iOS side issue.
This error would typically suggest a DNS related issue.. It had nothing to do with AFNetworking (except for maybe reporting the wrong error)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With