resume errors ajax