log error message when API requests fail

we have been silencing our helpful log messages when they are on JSON API requests