Company Upload Errors in Distru
Overview
This section documents the most common errors encountered when bulk uploading Companies into Distru. These errors focus specifically on the required fields that must be filled in for a bulk upload to succeed, along with guidance on how to resolve them.
Prerequisites:
Access to Distru with the ability to bulk upload products
Completed CSV template ready for import
Table of Contents
Company Name
β Error: companies.name: Please enter your company's name
π What It Means
This error occurs when the Company Name field is left blank in the bulk upload template. Every company created in Distru must have a name so it can be identified and tied to licenses, contacts, and products.
β How to Resolve
Enter a valid Company Name in the template.
Make sure the name matches how you want the company to appear in your CRM.
β οΈ Common Mistakes
Leaving the Company Name column blank.
Using an invalid or incomplete name.
Entering a name that doesnβt match the one already in your CRM (e.g., entering
Sun Shine LLCwhen the CRM hasSunshine).
License Type
β Error: licenses.license_type: Invalid license type
π What It Means
The License Type entered in the bulk upload doesnβt match an accepted state license type in Distru.
β How to Resolve
Go to: β° Hamburger Menu > CRM > Companies.
Select a company and Edit License (or create a new one).
Use the dropdown menu under License Type to see all valid options.
Ensure your bulk upload matches one of those values exactly.
β οΈ Common Mistakes
Entering a license type not supported by your state.
Typos, spacing errors, or lowercase values.
Adding custom license types instead of using the system list.
License Active
β Error: licenses.active: Please provide a valid value
β Error: licenses.active: Is this license active?
π What It Means
The License Active field was left blank or incorrectly filled. Distru requires this to know if a license is currently active or not.
β How to Resolve
Enter either
TRUEorFALSEin the License Active column.Both must be written in all caps.
β οΈ Common Mistakes
Leaving the column blank.
Using
Yes/Noinstead ofTRUE/FALSE.Entering lowercase values like
trueorfalse.
License Number
β Error: locations.license_id: The provided license does not exist
π What It Means
This error occurs when the License Number field is left blank in the bulk upload. Distru requires each company to have a license value. The system does not validate if the license number is real, but it does require something to be entered.
β How to Resolve
Go to the License Number column in your template.
Enter a value (it cannot be blank).
If you donβt have the number yet, you may enter a placeholder value (e.g.,
XYZXYZ), but update later for compliance.
β οΈ Common Mistakes
Leaving the License Number field blank.
Assuming Distru checks license numbers against state systems (it does not).
Copy/paste errors that remove the value.
License Expiration Date
β Error: licenses.expiration_date: Invalid date format
π What It Means
This error occurs when the License Expiration Date field is missing or entered in the wrong format. Distru requires a valid date (YYYY-MM-DD) for license records to ensure compliance timelines are tracked properly.
β How to Resolve
Go to the License Expiration Date column in your bulk upload sheet.
Enter the date in YYYY-MM-DD format (e.g.,
2026-12-31).Double-check that no extra text, spaces, or alternate formats (like
12/31/26or31-12-2026) are included.
β οΈ Common Mistakes
Leaving the field blank.
Entering the date in local formats (MM/DD/YY or DD/MM/YYYY).
Including time values or text. Location Name
Location Name
β Error: locations.name: Cannot be blank
π What It Means
The Location Name field was left blank in the template. Each company in Distru requires at least one location. This name acts as the identifier for the site (e.g., Main Facility, Warehouse A, or Retail Storefront).
β How to Resolve
Enter a value in the Location Name column.
If unsure, you may use a placeholder name and update it later.
β οΈ Common Mistakes
Leaving the Location Name column blank.
Location Address Fields
β Error Examples:
locations.street_address: Enter a street addresslocations.city: Enter a citylocations.state: Enter a statelocations.country: Enter a countrylocations.zip: Enter a zip code
π What It Means
Each company location must include a full address: Street Address, City, State, Country, and Zip Code. If any of these fields are blank, Distru will throw an error.
β How to Resolve
Fill in every address-related column for each location.
Double-check formatting for consistency (e.g., use standard state abbreviations like
CA, notCalifornia).
β οΈ Common Mistakes
Leaving one or more address fields blank.
Forgetting that each column (Street Address, City, State, Country, Zip) is required separately.
