# 故障排除

## Could not reach api.tomba.io. In Snowsight open Data Products > Apps > (this app) > Security …

与 Tomba API 的连接尚未获批。打开 **Data Products » Apps » TOMBA » Security**，然后批准 **Tomba API**。请参阅[安装](/snowflake/installation#2-approve-the-connection-and-the-privileges)。

## Cannot read CRM.PUBLIC.X … GRANT …

应用无权访问该表，或者表名有误。以表所有者的身份运行消息中显示的 `GRANT` 语句，并检查数据库、架构和表的名称。

## CRM.PUBLIC.X has no column 'US'

某个 `…_column` 参数收到的是一个值，而不是列名。例如，`validate_phones` 接受的是存放国家/地区代码的**列的名称**（`'COUNTRY'`），而不是某个国家/地区（`'US'`）。

## … needs columns for (domain, first_name, last_name) or …

您传入的列不符合该工具的任何输入组合。每篇教程都列出了可接受的组合；对于表存储过程不接受的组合，改用 `run_tool`。

## Daily lookup limit for this install reached

您已达到今天的上限（新安装或处于列表试用期间为 200 次查询）。运行会正常停止：已完成的行会保留，并在 UTC 00:00 之后[自动恢复](/snowflake/resume-and-auto-resume)。如果今天需要更多查询次数，联系支持团队。

## Credit limit for this run reached / Monthly credit budget reached

该运行达到了其 `max_credits` 或当月预算。恢复该运行，或使用 `set_setting('monthly_credit_budget', …)` 提高预算。请参阅[缓存与预算](/snowflake/cache-and-budgets)。

## Background runs, auto-resume and schedules need the EXECUTE TASK and EXECUTE MANAGED TASK privileges

在应用的 **Security** 选项卡中批准这些权限，或授予这些权限：

```sql
GRANT EXECUTE TASK ON ACCOUNT TO APPLICATION TOMBA;
GRANT EXECUTE MANAGED TASK ON ACCOUNT TO APPLICATION TOMBA;
```

没有这些权限时，常规运行仍可正常工作。

## 后台运行一直处于 QUEUED 状态

后台运行会逐个处理，最早的优先，因此当较早的运行正在进行时，后续运行会保持排队状态。如果 `TOMBA.core.runs` 中没有处于 `RUNNING` 状态的运行，而该运行仍在排队，检查上文中的任务权限，然后取消该运行（`cancel_run`）并重新启动。

## Snowflake billing failed, so this run was stopped

失败前已写入的行会保留。联系 [support@tomba.io](mailto:support@tomba.io)，并提供消息中的运行 ID。

## This install is suspended / Tomba refused this request

联系 [support@tomba.io](mailto:support@tomba.io)，并提供您的 Snowflake 组织名称和账户名称。

## This app version (…) is no longer supported; upgrade the app

需要更新的版本。在 **Data Products » Apps » TOMBA** 中升级。

## 部分行的结果看起来有误

检查 `INPUT_…` 列：查询前会先清理值（域名会去掉 `https://` 和路径，邮箱会转为小写）。`LOOKUP_STATUS = 'invalid'` 的行无法使用，也未被发送。如有匹配质量问题，发送邮件至 [support@tomba.io](mailto:support@tomba.io) 并附上示例。

## 仍未解决？

发送邮件至 [support@tomba.io](mailto:support@tomba.io)，或查看 [status.tomba.io](https://status.tomba.io)。
