check for exception from server in correct order for spec server request