Add error handling for nil responses.