Fix a missing 'return` for API Error..