Raise error on profile and definition response errors