Same comment here. I think defining `response_data` at the beginning of the method makes it unclear what stuff is going to be in it when an error is raised.