I am using the
func should(_ manager: SessionManager, retry request: Request, with error: Error, completion: @escaping RequestRetryCompletion)
Maybe you are not getting an error. 400 responses aren't considered as error by
Alamofire. In case you want get an error when receiving a 400 code you should chain
validate() to the request.
If this is your case you can find more information here.