safeguarding against empty response data again, this time with exceptions