you don't pass keywords `name`and `status_code` that are useful to populate `err_msg`