Better error handling in spots api