Was dealing with some errors

To test the code please change API_BASE_URI