api: change error