Catch error if we can't decode JSON with Guzzle.