ServiceTitan pricebook import errors: the duplicate-code and subcategory fixes
Most ServiceTitan pricebook import errors come down to three things: a duplicate code, a service pointing at a category that does not exist yet, and a silent one where a full-replace import wipes your vendor mapping. The first two throw an error and stop the import. The third throws nothing and quietly costs you data. Here is what causes each and the exact fix.
The duplicate-code error
Every pricebook item needs a unique code. A collision can be in another sheet or on an existing active or inactive item. That causes a duplicate-code error, but it does not mean imports update items by Code. Keep the ServiceTitan-generated Id for existing items; do not change or delete it. For a genuinely new item, leave Id blank so ServiceTitan can generate it.
The fix is to make every code unique before you import:
- Export with Include inactive selected and check the code across all item sheets.
- Compare the item Id as well as the code to distinguish an existing item update from a new item.
- Give genuinely different items distinct codes. Preserve existing Id values.
- If transferring a code between items, change the original item’s code in one import before adding the new item in a second import.
- Review the import error log and check the resulting items.
The deeper cause is almost always copy-paste history: items duplicated from an old software migration, or the same service built twice under two categories. If you are constantly fighting duplicates, the book has a structure problem, not a one-off typo.
The subcategory or category error
This one means a service or material is pointing at a category that does not exist in the book yet, or the category path on the row does not match a real category exactly. ServiceTitan has nowhere to file the item, so it errors.
The fix is order:
- Import the Categories sheet first, and confirm every category leaf you reference actually exists.
- Then import Services and Materials that point at those categories.
- Make sure each row’s category path matches an existing leaf exactly, including spelling and the Category1 / Category2 / Category3 levels. A trailing space or a renamed parent is enough to break it.
Categories are the foundation. Build and import them first, and the services have somewhere to land.
The silent one: your vendors get wiped
This is the import “error” that does not throw an error, and it is the one that actually costs you. On a full-replace import, your vendor mapping can quietly disappear.
We watched it happen on a multi-location shop: after the import, parts that used to carry Plumb Supply, Johnstone, and Ferguson all came back showing only the warehouse default replenishment vendor. Nothing failed, nothing flagged. The vendor data was just gone, and nobody noticed until they went looking for it weeks later.
The fix is caution with full replacements:
- Back up your current export before any import. Always.
- For updates in place, preserve existing item Id values and leave Deactivate existing pricebook unchecked. Omitted items are unaffected only with that option unchecked.
- If you must replace, re-map vendors afterward, and spot-check the vendor columns on a sample of parts before you trust it.
A clean import is worth nothing if it silently erases the part-number and vendor work you spent months building.
The clean-import order, in one list
When you build the import sheet, this order avoids most of the errors above: Categories, then Equipment, then Services, then Materials, then the links between them. Unique codes throughout, including inactive items. Keep existing Id values; leave Id blank for new items. Back up first and leave Deactivate existing pricebook unchecked unless replacement is intended. Spot-check vendors and prices after.
One more safety net: after the import, run the free Pricebook Compare on your before and after exports. It shows exactly what changed, so a silent vendor wipe like the one above gets caught in seconds instead of weeks.
Our free Pricebook Health Audit reads your export and flags duplicates, missing categories, and zeroed-out fields before you ever hit import, right in your browser.
When the errors mean a rebuild, not a patch
If every import is a fight, the problem is not the import, it is the book. Duplicate junk, no clean category tree, and items dumped in without structure turn every change into an error. That is the same bloat that makes a book carry 400 services when the good ones number 80, and it is exactly what a real rebuild fixes.
The complete guide to a ServiceTitan pricebook that sells walks the whole structure, and when you want it handled, the rebuild is the work we do.
Official import references
- Import and export your pricebook: omitted items and the deactivation option.
- Troubleshoot Pricebook import errors: preserve template structure and generated Id values.
- Resolve duplicate item codes: inactive items, cross-sheet collisions and separate code-transfer imports.
Common questions
Why does my ServiceTitan pricebook import keep failing?
Almost always one of three things. A duplicate Code, since every pricebook item needs a unique Code or the import stops. A service pointing at a category that does not exist yet, which is why you import categories first, then services. Or the silent one: a full-replace import that wipes your vendor mapping and throws no error at all. Fix the codes, load categories first, and push changes as a changes-only file instead of a full replace.
How do I fix a duplicate code error when importing a ServiceTitan pricebook?
Check for duplicate codes across sheets and against active and inactive items already in ServiceTitan. Preserve the exported Id when updating an existing item; leave Id blank only for a new item. A unique Code is required, but it is not a substitute for the item Id.
If I delete a row from my import file, does it delete it from ServiceTitan?
Not when Deactivate existing pricebook is left unchecked: omitted items remain unchanged. Selecting that option deactivates the existing pricebook before the import, so omission is not safe under that setting. To update an existing item, retain its exported Id. Leave Id blank for genuinely new items.
What is the safest way to import pricebook changes into ServiceTitan?
Start from a current export and preserve the template sheets and columns. Keep exported Id values for existing items and leave Id blank for new ones. For an update rather than a replacement, leave Deactivate existing pricebook unchecked. Back up before importing, review the error log, and compare the results afterward.