API caller error handling, and change column name to be more clear