Why am I getting an error in my transfer function?
Your analysis and final transfer function are correct. Must have been a typo in the exam model answer. You can double-check by doing TF = -(feedback Z)/(input Z).