Error Handling for API Wrapper

Implemented null data handling in API Wrapper.