Use new api/errors, get rid of api.* error code