catch 400 error