This repository was archived by the owner on Jan 17, 2023. It is now read-only.

Description
One of my service call works well in ios13 devices but doesnt work with lower version devices. When investigated the parameters and request headers are same.
But this is the response I am getting.
error -1011 Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: unauthorized (401)" UserInfo={NSLocalizedDescription=Request failed: unauthorized (401), NSErrorFailingURLKey=https://xxx.xxxx.com/services/xxxx/xxxxx, com.alamofire.serialization.response.error.data=<0d0a200a 5b224163 63657373 2064656e 69656420 666f7220 75736572 20616e6f 6e796d6f 7573225d>, com.alamofire.serialization.response.error.response= { URL: https://xxx.xxxx.com/services/xxxx/xxxxx }