Add code to solve 204 error.

204 will occar when API has no results.