My question is quite similar to this one, but for Alamofire : AFNetworking: Handle error globally and repeat request How to be able to catch globally an error (typically a 401) and handle it before

Source: Alamofire : How to handle errors globally