Better error handling for when the body turns out not to have any items. Still trying to find out what's wrong.