Fixed: Problems in the error methods calling in ajax