CSV Upload Issues
CSV upload failed
CSV upload failed
Symptoms: Error message when uploading CSV fileCommon causes:
- File is not a valid CSV (e.g., XLSX, TXT with wrong extension)
- File is corrupted or has encoding issues
- File is too large (>10MB)
- Verify file extension is
.csv - Re-export from Webflow
- Open in text editor to check for corruption
- Split large CSVs into smaller batches
CSV headers look wrong
CSV headers look wrong
Symptoms: Column names are garbled or incorrect in previewCauses:
- CSV opened and saved in Excel (changed encoding)
- File has BOM (Byte Order Mark)
- Wrong delimiter (tab instead of comma)
- Re-export fresh CSV from Webflow
- Use Google Sheets or LibreOffice instead of Excel
- Check file encoding is UTF-8
Special characters appear corrupted
Special characters appear corrupted
Symptoms: Seeing
é instead of é or similar character issuesCause: Encoding mismatch (file isn’t UTF-8)Solutions:- Re-export from Webflow (should be UTF-8)
- Convert file to UTF-8 in text editor
- Check Webflow source data isn’t already corrupted
'Collection ID' or 'Item ID' missing
'Collection ID' or 'Item ID' missing
Symptoms: Error about missing required Webflow columnsCause: CSV was edited and system columns were deletedSolution:
- Re-export CSV from Webflow without modifications
- Never delete
Collection ID,Item ID, orLocale IDcolumns
Field Mapping Issues
Field type mismatch error
Field type mismatch error
Symptoms: “Cannot convert value to [type]” errorExample: Trying to map text like “abc” to a
number fieldSolutions:- Choose correct field type for your data
- Clean invalid data in CSV before upload
- Use
stringtype if data is mixed (then convert in Sanity later)
Required field has empty values
Required field has empty values
Symptoms: “Required field [name] missing in X rows”Cause: Some CSV rows don’t have data for a required fieldSolutions:
- Uncheck “Required” for that field
- Fill missing values in CSV before upload
- Accept that rows with missing data will fail to import
Auto-mapping suggestions are wrong
Auto-mapping suggestions are wrong
Symptoms: MigrateKit suggests wrong field typesCause: Column names or data patterns are ambiguousSolution: Manually adjust mappings—suggestions are just starting points, not requirements
Can't map reference fields
Can't map reference fields
Current limitation: Reference/relationship fields not supported in MVPWorkaround:
- Map as
stringto preserve the ID or slug - Manually recreate relationships in Sanity Studio after import
- See Limitations for details
Connection Issues
'Invalid API token' error
'Invalid API token' error
Symptoms: Connection test fails with authentication errorCauses:
- Token was copied with extra spaces or characters
- Token doesn’t have Editor permissions
- Token was revoked or deleted
- Create new token with Editor permissions
- Copy token carefully without spaces
- Verify in Sanity management console that token exists
'Project not found' error
'Project not found' error
Symptoms: Can’t connect to Sanity projectCauses:
- Project ID is incorrect
- Typo in Project ID
- Using project name instead of ID
- Double-check Project ID in Sanity dashboard
- Copy-paste ID instead of typing
- Project ID is alphanumeric (e.g.,
abc123xyz), not the project name
'Dataset not found' error
'Dataset not found' error
Symptoms: Dataset doesn’t existCauses:
- Dataset name misspelled
- Dataset doesn’t exist in this project
- Wrong capitalization
- Verify dataset name in Sanity project settings (case-sensitive)
- Create dataset in Sanity if it doesn’t exist
- Common names:
production,development,staging
'Insufficient permissions' error
'Insufficient permissions' error
Symptoms: Can connect but can’t importCause: API token has Viewer permissions instead of EditorSolution:
- Create new token with Editor role
- Delete old token
- Update token in MigrateKit
HTML Conversion Errors
Portable Text looks wrong
Portable Text looks wrong
Symptoms: Formatting doesn’t match Webflow originalCommon causes:
- Complex HTML structures MigrateKit couldn’t convert
- Nested formatting beyond Portable Text capabilities
- Custom Webflow elements
- Review in Sanity Studio and manually fix formatting
- Simplify complex HTML in Webflow before export
- Check HTML Conversion for supported tags
Line breaks disappeared
Line breaks disappeared
Symptoms: Paragraphs run togetherCauses:
- Multiple
<br>tags converted incorrectly - Empty
<p>tags were stripped
Images missing from rich text
Images missing from rich text
Symptoms: Images that were in Webflow content don’t appearCauses:
- Image URLs in HTML were invalid
- Images failed to download
- Asset upload quota exceeded
- Check import report for asset failures
- Verify original URLs in CSV are complete
- Manually upload missing images in Sanity
Webflow embeds became code blocks
Webflow embeds became code blocks
Expected behavior: Scripts and iframes are preserved as code blocks for securityWhat to do:
- Review code blocks in Sanity Studio
- Replace with Sanity-compatible alternatives:
- YouTube embeds → Sanity YouTube plugin
- Custom scripts → Sanity-safe implementations
- See HTML Conversion
Import Errors
Some documents failed to import
Some documents failed to import
Symptoms: Import completes but some rows show errorsCommon causes:
- Required fields with missing values
- Data type validation failures
- Invalid Portable Text from malformed HTML
- Review error messages for specific rows
- Fix issues in CSV
- Re-upload and import just the failed rows
Import is very slow
Import is very slow
Symptoms: Import takes much longer than estimatedCauses:
- Large number of high-resolution images
- Many documents (>500)
- Complex Portable Text requiring heavy processing
- Be patient—large imports take time
- Split into smaller batches
- Optimize/resize images before import
Assets failed to upload
Assets failed to upload
Symptoms: Documents import but images are missingCauses:
- Invalid image URLs in CSV
- Network timeouts
- Sanity asset quota exceeded
- Images too large
- Check import report for specific failures
- Verify URLs are accessible
- Check Sanity asset quota limits
- Manually upload failed assets
'Duplicate ID' error
'Duplicate ID' error
Symptoms: Import fails with duplicate document ID errorCause: Trying to import same data twiceSolution:
- Delete existing drafts in Sanity first
- OR MigrateKit will update existing documents (using
Item ID)
Data Quality Issues
Dates are wrong
Dates are wrong
Symptoms: Dates appear incorrect in SanityCauses:
- Excel auto-formatted dates in CSV
- Timezone conversion issues
- Invalid date format
- Don’t open CSV in Excel (use Google Sheets)
- Verify dates in text editor before upload
- Check original Webflow data for accuracy
Links are broken
Links are broken
Symptoms: Links don’t work or point to wrong URLsCauses:
- Relative Webflow URLs don’t work in new context
- Links to Webflow-specific pages
- Update links in Sanity Studio to absolute URLs
- Review all links after migration
- Convert Webflow internal links to new site structure
Boolean fields show 'true'/'false' text
Boolean fields show 'true'/'false' text
Symptoms: Boolean field shows text instead of checkboxCause: Field mapped as
string instead of booleanSolutions:- Re-map field as
booleantype - MigrateKit converts “true”/“false”/“yes”/“no” automatically
Numbers have wrong decimals
Numbers have wrong decimals
Symptoms:
100.50 became 100.5 or similarCause: Number precision issueSolution: This is expected—trailing zeros are mathematically irrelevant. If you need to preserve exact formatting (like prices), use string type and format in your frontend.Need More Help?
If your issue isn’t listed here:Check Prerequisites
Ensure you have everything set up correctly
Review Migration Guide
Step-by-step instructions for the entire process
Limitations Reference
Current features and known limitations
Contact Support
Email support@contentwrap.io