# Troubleshooting

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

The connection to the Tomba API isn't approved yet. Open **Data Products » Apps » TOMBA » Security** and
approve **Tomba API**. See [Installation](./installation#2-approve-the-connection-and-the-privileges).

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

The app has no access to the table, or the name is wrong. Run the `GRANT` statements shown in the message as
the table's owner, and check the database, schema and table names.

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

A `…_column` argument received a value instead of a column name. For example, `validate_phones` takes the
**name of the column** holding country codes (`'COUNTRY'`), not a country (`'US'`).

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

The columns you passed don't cover any input combination of the tool. Each tutorial lists the accepted
combinations; use `run_tool` for combinations the table procedure doesn't take.

## Daily lookup limit for this install reached

You reached today's limit (200 lookups while the install is new). The run stops cleanly: rows already done
are kept, and it [resumes automatically](./resume-and-auto-resume) after 00:00 UTC. Contact support if you need
more today.

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

The run hit its `max_credits`, or the month's budget. Resume it, or raise the budget with
`set_setting('monthly_credit_budget', …)`. See [Cache and budgets](./cache-and-budgets).

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

Approve them on the app's **Security** tab, or grant them:

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

Regular runs keep working without them.

## A background run stays QUEUED

The app's worker starts it within a minute. If it stays queued, check the task privileges above, then cancel
it (`cancel_run`) and start it again.

## Snowflake billing failed, so this run was stopped

Rows written before the failure are kept. Contact [support@tomba.io](mailto:support@tomba.io) with the run id
from the message.

## This install is suspended / Tomba refused this request

Contact [support@tomba.io](mailto:support@tomba.io) with your Snowflake organization and account name.

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

A newer version is required. Upgrade from **Data Products » Apps » TOMBA**.

## Results look wrong for some rows

Check the `INPUT_…` columns: values are cleaned before the lookup (domains lose `https://` and paths, emails
are lower-cased). Rows with `LOOKUP_STATUS = 'invalid'` couldn't be used and weren't sent. For match quality
issues, email [support@tomba.io](mailto:support@tomba.io) with examples.

## Still stuck?

Email [support@tomba.io](mailto:support@tomba.io), or check [status.tomba.io](https://status.tomba.io).
