> ## Documentation Index
> Fetch the complete documentation index at: https://docs.invoca.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Phone Number Doesn't Swap With an Error: "Could Not Run Because Settings Not Initialized"

> This error means your account's tag-live.js configuration file failed to load alongside the Invoca library — check your deployment for a missing or broken snippet.

For the Invoca Tag to run successfully, two JS files need to load on your website:

* `invoca-latest.min.js` (or `pnapi_integration-latest.min.js`): the library file, required for every account.
* `tag-live.js`: your account's configured tag, set up within your network.

The `invoca-latest.min.js` file loads via the tag snippet you added to your source code or tag manager. If `tag-live.js` has an error, or is missed during deployment, it fails to load — and you may see the error "Could not run because settings not initialized." This means your tag configuration hasn't loaded correctly.

## Checking for this error

When you see this error in the console, check the **Sources** tab in DevTools to confirm both files are present.

1. **If `tag-live.js` is missing:** review how the tag is deployed and check for errors in your tag configuration, then make sure both files load as part of your tag's deployment.
2. **Check the tag snippet:** confirm it was copied correctly and completely from your network settings and added to your website. A missing piece of the snippet can prevent the necessary files from loading.
3. **Check for a race condition:** if you call `Invoca.PNAPI.run()` yourself, it's possible to trigger this error if the function runs before both files have finished loading — since the tag's settings aren't initialized yet at that point. Make sure `Invoca.PNAPI.run()` only runs after both files are fully loaded on the page.

## Where to go next

* [Validating and Troubleshooting Invoca Tags](/s/article/validating-troubleshooting-tags)
* [Deploying the Invoca Tag](/s/article/deploying-invoca-tag)
